Changeset 1427
- Timestamp:
- 18/12/09 17:36:35 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tupper/trunk/tupper-site/src/main/java/org/kauriproject/tupper/resource/CalendarUtil.java
r1426 r1427 33 33 // For the first and last week of the year, we have to be careful 34 34 // that the year-value doesn't shift because the day of the week 35 // falls in the other year. 35 // falls in the other year. For example, jan 1, 2010 falls in week 36 // 53 of 2009. In this case the calendar can be in a state where 37 // the year is 2010 but the week is 53. In such cases, we want the 38 // year that corresponds to the week number. 36 39 if (week == 1) { 37 40 calendar.set(Calendar.DAY_OF_YEAR, 1);
