This is the mail archive of the mauve-patches@sourceware.org mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: More GregorianCalendar day of week in month checks


Hi again,

The tests in java.util.GregorianCalendar.dayOfWeekInMonth check that
DAY_OF_WEEK_IN_MONTH and WEEK_OF_MONTH are correct when you set dates
using YEAR + MONTH + DAY_OF_MONTH.  This commit adds checks in the
opposite direction, ie that DAY_OF_MONTH is correct when you set dates
using YEAR + MONTH + DAY_OF_WEEK_IN_MONTH + DAY_OF_WEEK and using
YEAR + MONTH + WEEK_OF_MONTH + DAY_OF_WEEK.

Cheers,
Gary

Attachment: patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]