Searched defs:month (Results 1 - 2 of 2) sorted by relevance
/opengrok/test/org/opensolaris/opengrok/history/ |
H A D | PerforceHistoryParserTest.java | 153 * @param month the expected month (note: January is 0, not 1) 154 * @param day the expected day of the month 157 HistoryEntry entry, int year, int month, int day) { 161 assertEquals("month", month, cal.get(Calendar.MONTH)); 156 assertDate( HistoryEntry entry, int year, int month, int day) argument
|
/opengrok/src/org/opensolaris/opengrok/history/ |
H A D | PerforceHistoryParser.java | 123 int month = Integer.parseInt(matcher.group(3)); 128 entry.setDate(newDate(year, month, day, hour, minute, second)); 164 int month = Integer.parseInt(matcher.group(3)); 169 entry.setDate(newDate(year, month, day, hour, minute, second)); 199 * @param month the month (January is 1, February is 2, ...) 200 * @param day the day of the month 206 private static Date newDate(int year, int month, int day, int hour, int minute, int second) { argument 208 // Convert 1-based month to 0-based 209 cal.set(year, month [all...] |
Completed in 16 milliseconds