Searched refs:month (Results 1 - 2 of 2) sorted by relevance

/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DPerforceHistoryParser.java129 int month = Integer.parseInt(matcher.group(3));
134 entry.setDate(newDate(year, month, day, hour, minute, second));
170 int month = Integer.parseInt(matcher.group(3));
175 entry.setDate(newDate(year, month, day, hour, minute, second));
206 * @param month the month (January is 1, February is 2, ...)
207 * @param day the day of the month
213 private static Date newDate(int year, int month, int day, int hour, int minute, int second) { argument
215 // Convert 1-based month to 0-based
216 cal.set(year, month
[all...]
/opengrok-jel/test/org/opensolaris/opengrok/history/
H A DPerforceHistoryParserTest.java153 * @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

Completed in 8 milliseconds