I have never used JodaTime before, but answering this question, How to get ordinal Weekdays in a Month.
I tried it and came up with this ugly code to unset all fiel
Joda Time also supports the withFields method in the DateTime type. This can also be used to create a short syntax:
DateTime
new DateTime().withDayOfMonth(1).withFields(new LocalTime(0, 0));
In production code the argument to withFields should be factored out to a constant.
withFields