int hr = 23;
int min = 17;
int sec = 50;
Date javaDate = createJavaDate(year, 0, 1, hr, min, sec);
ChronoDate chronoDate = createTestDate(year, 0, 1, hr, min, sec, 0);
assertTimestampEquals(msg, year, javaDate.getTime(), (long)chronoDate.getTime());
javaDate = createJavaDate(year, 0, 31, hr, min, sec);
chronoDate = createTestDate(year, 0, 31, hr, min, sec, 0);
assertTimestampEquals(msg, year, javaDate.getTime(), (long)chronoDate.getTime());
javaDate = createJavaDate(year, 1, 28, hr, min, sec);
chronoDate = createTestDate(year, 1, 28, hr, min, sec, 0);
assertTimestampEquals(msg, year, javaDate.getTime(), (long)chronoDate.getTime());
javaDate = createJavaDate(year, 2, 1, hr, min, sec);
chronoDate = createTestDate(year, 2, 1, hr, min, sec, 0);
assertTimestampEquals(msg, year, javaDate.getTime(), (long)chronoDate.getTime());
javaDate = createJavaDate(year, 5, 15, hr, min, sec);
chronoDate = createTestDate(year, 5, 15, hr, min, sec, 0);
assertTimestampEquals(msg, year, javaDate.getTime(), (long)chronoDate.getTime());
javaDate = createJavaDate(year, 9, 1, hr, min, sec);
chronoDate = createTestDate(year, 9, 1, hr, min, sec, 0);
assertTimestampEquals(msg, year, javaDate.getTime(), (long)chronoDate.getTime());
javaDate = createJavaDate(year, 9, 30, hr, min, sec);
chronoDate = createTestDate(year, 9, 30, hr, min, sec, 0);
assertTimestampEquals(msg, year, javaDate.getTime(), (long)chronoDate.getTime());
javaDate = createJavaDate(year, 11, 31, hr, min, sec);
chronoDate = createTestDate(year, 11, 31, hr, min, sec, 0);
assertTimestampEquals(msg, year, javaDate.getTime(), (long)chronoDate.getTime());
}