/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | SimpleDateFormatTest.java | 415 Calendar temp2 = new GregorianCalendar(1999, Calendar.JANUARY, 12); 457 Date winterDate = new GregorianCalendar(1999, Calendar.JANUARY, 12).getTime(); 527 Calendar cal = new GregorianCalendar(1970, Calendar.JANUARY, 1); 534 cal = new GregorianCalendar(1970, Calendar.JANUARY, 1, 1, 0); 541 cal = new GregorianCalendar(1970, Calendar.JANUARY, 1, 11, 0); 545 cal = new GregorianCalendar(1970, Calendar.JANUARY, 1, 23, 0); 551 Calendar.JANUARY, 1, 3, 0).getTime(), 1, 5); 553 Calendar.JANUARY, 1, 15, 0).getTime(), 1, 5); 555 Calendar.JANUARY, 1, 0, 0, 59).getTime(), 0, 4); 556 assertParse("m:s", "59:0", new GregorianCalendar(1970, Calendar.JANUARY, [all...] |
/libcore/ojluni/src/main/java/sun/util/calendar/ |
H A D | BaseCalendar.java | 42 public static final int JANUARY = 1; field in class:BaseCalendar 198 if (month < JANUARY || month > DECEMBER) { 256 m = JANUARY; 325 if (month < JANUARY || month > DECEMBER) { 365 boolean isJan1 = month == JANUARY && dayOfMonth == 1; 434 jan1 = getFixedDate(year, JANUARY, 1, null);
|
H A D | JulianCalendar.java | 149 boolean isJan1 = month == JANUARY && dayOfMonth == 1; 194 int priorDays = (int)(fixedDate - getFixedDate(year, JANUARY, 1, jdate));
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | DatatypeConstants.java | 44 public static final int JANUARY = 1; field in class:DatatypeConstants
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | GregorianCalendarTest.java | 142 assertEquals(Calendar.JANUARY, gc.get(Calendar.MONTH)); 259 cal.set(2016, Calendar.JANUARY, 1); 266 cal.set(2016, Calendar.JANUARY, 1); 277 cal.set(2016, Calendar.JANUARY, 10); 282 cal.set(2016, Calendar.JANUARY, 10);
|
H A D | FormatterTest.java | 185 c.set(2013, Calendar.JANUARY, 1, hour, 00);
|
H A D | SimpleTimeZoneTest.java | 263 calendar.set(year, Calendar.JANUARY, 1, 0, 0, 0);
|
H A D | CalendarTest.java | 230 cal.set(Calendar.MONTH, Calendar.JANUARY);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | GregorianCalendarTest.java | 367 .getActualMinimum(Calendar.MONTH) == Calendar.JANUARY); 386 .getGreatestMinimum(Calendar.MONTH) == Calendar.JANUARY); 486 .getMinimum(Calendar.MONTH) == Calendar.JANUARY); 581 assertEquals("Wrong month: " + cal.getTime(), Calendar.JANUARY, cal 591 assertEquals("Wrong month: " + cal.getTime(), Calendar.JANUARY, cal 598 assertEquals("Wrong month: " + cal.getTime(), Calendar.JANUARY, cal 605 assertEquals("Wrong month: " + cal.getTime(), Calendar.JANUARY, cal 628 assertEquals("Wrong month: " + cal.getTime(), Calendar.JANUARY, cal
|
H A D | DateTest.java | 319 cal.set(1969, Calendar.JANUARY, 12, 1, 0); 445 cal.set(Calendar.MONTH, Calendar.JANUARY);
|
H A D | CalendarTest.java | 127 cal.set(Calendar.MONTH, Calendar.JANUARY); 137 cal.set(Calendar.MONTH, Calendar.JANUARY); 202 cal.set(Calendar.MONTH, Calendar.JANUARY); 259 cal.set(Calendar.MONTH, Calendar.JANUARY); 277 cal.set(Calendar.MONTH, Calendar.JANUARY); 402 cal.setTime(new Date(884581200000L)); // (98, Calendar.JANUARY, 12) 470 cal.set(Calendar.MONTH, Calendar.JANUARY);
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | GregorianCalendar.java | 193 * <code>JANUARY<br></code> 440 JANUARY, // MONTH 963 set(MONTH, JANUARY + month); 1704 nextJan1 = gcal.getFixedDate(++normalizedYear, BaseCalendar.JANUARY, 1, null); 1767 d.setDate(date.getYear(), BaseCalendar.JANUARY, 1); 2031 if (internalGet(MONTH) == JANUARY) { 2470 BaseCalendar.JANUARY, 2480 BaseCalendar.JANUARY, 2520 BaseCalendar.JANUARY, 2939 int month = JANUARY; [all...] |
H A D | SimpleTimeZone.java | 970 * between <code>Calendar.JANUARY</code> and 1031 * between <code>Calendar.JANUARY</code> and 1382 if (startMonth < Calendar.JANUARY || startMonth > Calendar.DECEMBER) { 1429 if (endMonth < Calendar.JANUARY || endMonth > Calendar.DECEMBER) {
|
H A D | Calendar.java | 91 * JANUARY</code> for all calendars. Other values are defined by the 112 * <code>GregorianCalendar</code> interprets <code>MONTH == JANUARY</code>, 181 * JANUARY</code>, <code>DAY_OF_MONTH = 1</code>, etc. 381 * <code>JANUARY</code> which is 0; the last depends on the number 384 * @see #JANUARY 617 public final static int JANUARY = 0; field in class:Calendar 1417 * {@link #JANUARY}, "Feb" to {@link #FEBRUARY}, and so on, in the
|
/libcore/luni/src/test/java/libcore/icu/ |
H A D | DateIntervalFormatTest.java | 38 c.set(Calendar.MONTH, Calendar.JANUARY); 176 c.set(2042, Calendar.JANUARY, 19, 3, 30); 278 c.set(1980, Calendar.JANUARY, 1, 0, 0); 296 c.set(1980, Calendar.JANUARY, 1, 0, 0); 376 calendar.set(2038, Calendar.JANUARY, 19, 12, 0, 0); 380 calendar.set(1900, Calendar.JANUARY, 1, 0, 0, 0);
|
/libcore/luni/src/test/java/tests/targets/security/cert/ |
H A D | CertificateTest.java | 747 calendar.set(2016, Calendar.JANUARY, 1);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/ |
H A D | X509CertificateTest.java | 314 calendar.set(i * 500, Calendar.JANUARY, 1);
|