I'd be happy to accept a GitHub pull request with tests for this.
2012-05-24 02:34:16 PDT in Joda - Time
A nasty bug, which should now be fixed in Git. Thanks for the spot.
2012-05-23 04:47:35 PDT in Joda - Time
scolebourne pushed 6 commit(s) to refs/heads/master in the joda-time Git repository of the Joda - Time project.
2012-05-23 04:46:56 PDT in Joda - Time
"W. Europe Standard Time" is not a real timezone id. They look like this - http://joda-time.sourceforge.net/timezones.html So, either the id you are using is manually created (some part of your code is creating a SimpleTimeZone) or there is some other mechanism picking up the id. To fix this, you need to use an ID recognized by Joda-Time, such as "WET" (West Europe...
2012-05-19 02:08:58 PDT in Joda - Time
You will need a proper source of holiday data, as weekends and holidays vary. You may then want to look at ObjectLabKit http://objectlabkit.sourceforge.net/ - or do the calculation yourself. Essentially you'd need a method that takes a LocalDate and checks whether it matches certain criteria (like Saturday or Sunday). You can then use that method with repeated calls to plusDays(1) to get the...
2012-05-17 12:17:28 PDT in Joda - Time
I tried to get the behaviour in all the different places reasonably consistent, but unfortunately, the internal design isn't conducive to simple fixes or tweaks. Your code looks "non-ideal", but with the easy offset-control solution, I'd be reluctant to try and look at that hairy code again!
2012-05-16 14:37:41 PDT in Joda - Time
No it doesn't, and the current "piratestrategy" git branch has actually removed UTCInstant from the main codebase (might fit as a separate non-JDK module in the final resulting design). If I can find a way to allow this kind of formatting for non-JDK classes, I will.
2012-05-16 13:25:47 PDT in threeten
Not sure what you are suggesting? A global setting for the first day of the week? ThreeTen simply makes a choice to define the standard day-of-week numbering equal to ISO. Localized day of week numbers are mostly a formatting issue. In general, if you're writing application logic you should be using the DayOfWeek enum and/or plusDays().
2012-05-06 10:23:12 PDT in threeten
I've made the test case more robust (you're probably using a UTC time zone)
2012-04-30 04:36:09 PDT in Joda - Time
Thanks, I've fixed the code in git.
2012-04-30 04:29:05 PDT in Joda - Time