/libcore/ojluni/src/main/java/java/sql/ |
D | Date.java | 56 public Date(int year, int month, int day) { in Date() argument 57 super(year, month, day); in Date() 134 int day = Integer.parseInt(dd); in valueOf() local 136 if ((month >= 1 && month <= MAX_MONTH) && (day >= 1 && day <= MAX_DAY)) { in valueOf() 137 d = new Date(year - 1900, month - 1, day); in valueOf() 158 int day = super.getDate(); in toString() local 167 buf[8] = Character.forDigit(day/10,10); in toString() 168 buf[9] = Character.forDigit(day%10,10); in toString()
|
D | Timestamp.java | 177 int day = 0; in valueOf() local 227 day = Integer.parseInt(dd); in valueOf() 229 if ((month >= 1 && month <= MAX_MONTH) && (day >= 1 && day <= MAX_DAY)) { in valueOf() 263 return new Timestamp(year - 1900, month - 1, day, hour, minute, second, a_nanos); in valueOf() 278 int day = super.getDate(); in toString() local 306 if (day < 10) { in toString() 307 dayString = "0" + day; in toString() 309 dayString = Integer.toString(day); in toString()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | DatatypeFactory.java | 468 final BigInteger day, in newDurationDayTime() argument 477 day, in newDurationDayTime() 510 final int day, in newDurationDayTime() argument 516 day, hour, minute, second); in newDurationDayTime() 791 final int day, in newXMLGregorianCalendar() argument 827 final int day, in newXMLGregorianCalendar() argument 854 day, in newXMLGregorianCalendar() 889 final int day, in newXMLGregorianCalendarDate() argument 895 day, in newXMLGregorianCalendarDate()
|
D | XMLGregorianCalendar.java | 295 public abstract void setDay(int day); in setDay() argument
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | DerInputBuffer.java | 306 int year, month, day, hour, minute, second, millis; in getTime() local 330 day = 10 * Character.digit((char)buf[pos++], 10); in getTime() 331 day += Character.digit((char)buf[pos++], 10); in getTime() 387 if (month == 0 || day == 0 in getTime() 388 || month > 12 || day > 31 in getTime() 398 date.setDate(year, month, day); in getTime()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CalendarTest.java | 147 private void testSetSelfConsistent(TimeZone timeZone, int year, int month, int day) { in testSetSelfConsistent() argument 152 calendar.set(year, month, day, hour, minute); in testSetSelfConsistent() 155 assertEquals(day, calendar.get(Calendar.DAY_OF_MONTH)); in testSetSelfConsistent() 199 int year, int month, int day, int hour, int minute) { in assertCalendarEquals() argument 202 assertEquals("day", day, calendar.get(Calendar.DATE)); in assertCalendarEquals()
|
D | OldTimeZoneTest.java | 29 … public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { in getOffset() argument
|
D | GregorianCalendarTest.java | 391 public int getOffset(int era, int year, int month, int day, int dayOfWeek, in getOffset() argument 393 return timeZone.getOffset(era, year, month, day, dayOfWeek, milliseconds); in getOffset()
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | LocalGregorianCalendar.java | 301 int day = ldate.getDayOfMonth(); in normalize() local 303 if (day > sinceDay) { in normalize() 306 if (day == sinceDay) { in normalize()
|
/libcore/ojluni/src/main/java/java/util/ |
D | SimpleTimeZone.java | 604 public int getOffset(int era, int year, int month, int day, int dayOfWeek, in getOffset() argument 637 cdate.setDate(y, m, day); in getOffset() 650 cdate.setNormalizedDate(y, m, day); in getOffset() 656 || (cdate.getDayOfMonth() != day) in getOffset()
|
D | TimeZone.java | 196 public abstract int getOffset(int era, int year, int month, int day, in getOffset() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CalendarTest.java | 842 for (int day = 1; day <= 7; day++) { in test_getDisplayNameIILjava_util_Locale() 843 cal.set(Calendar.DAY_OF_WEEK, day); in test_getDisplayNameIILjava_util_Locale() 844 value = symbols.getShortWeekdays()[day]; in test_getDisplayNameIILjava_util_Locale() 847 value = symbols.getWeekdays()[day]; in test_getDisplayNameIILjava_util_Locale()
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 357 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) { in getOffset() argument 376 calc += (day - 1) * MILLISECONDS_PER_DAY; in getOffset()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 505 ScopedResourceBundle day(ures_getByKey(fields.get(), "day", NULL, &status)); in getYesterdayTodayAndTomorrow() local 506 ScopedResourceBundle relative(ures_getByKey(day.get(), "relative", NULL, &status)); in getYesterdayTodayAndTomorrow()
|