Home
last modified time | relevance | path

Searched defs:year (Results 1 – 17 of 17) sorted by relevance

/libcore/luni/src/main/java/java/util/
DGrego.java60 public static final boolean isLeapYear(int year) { in isLeapYear()
71 public static final int monthLength(int year, int month) { in monthLength()
81 public static final int previousMonthLength(int year, int month) { in previousMonthLength()
93 public static long fieldsToDay(int year, int month, int dom) { in fieldsToDay()
128 int year = (int)(400 * n400 + 100 * n100 + 4 * n4 + n1); in dayToFields() local
203 public static int getDayOfWeekInMonth(int year, int month, int dayOfMonth) { in getDayOfWeekInMonth()
DGregorianCalendar.java245 public GregorianCalendar(int year, int month, int day) { in GregorianCalendar()
265 public GregorianCalendar(int year, int month, int day, int hour, int minute) { in GregorianCalendar()
287 public GregorianCalendar(int year, int month, int day, int hour, in GregorianCalendar()
681 int year = isSet[YEAR] ? fields[YEAR] : 1970; in computeTime() local
823 int year = 1970; in computeYearAndDay() local
842 private long daysFromBaseYear(long year) { in daysFromBaseYear()
876 private int daysInYear(int year) { in daysInYear()
1059 int year = 1970; in getOffset() local
1101 public boolean isLeapYear(int year) { in isLeapYear()
DDate.java75 public Date(int year, int month, int day) { in Date()
99 public Date(int year, int month, int day, int hour, int minute) { in Date()
126 public Date(int year, int month, int day, int hour, int minute, int second) { in Date()
387 int year = -1, month = -1, date = -1; in parse() local
658 public void setYear(int year) { in setYear()
755 public static long UTC(int year, int month, int day, int hour, int minute, in UTC()
DSimpleTimeZone.java342 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int time) { in getOffset()
530 private boolean isLeapYear(int year) { in isLeapYear()
787 public void setStartYear(int year) { in setStartYear()
DCalendar.java1141 public final void set(int year, int month, int day) { in set()
1152 public final void set(int year, int month, int day, int hourOfDay, int minute) { in set()
1163 public final void set(int year, int month, int day, int hourOfDay, int minute, int second) { in set()
DTimeZone.java319 public abstract int getOffset(int era, int year, int month, int day, in getOffset()
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeFactory.java622 final BigInteger year, in newDurationYearMonth()
655 final int year, in newDurationYearMonth()
789 final BigInteger year, in newXMLGregorianCalendar()
825 final int year, in newXMLGregorianCalendar()
887 final int year, in newXMLGregorianCalendarDate()
DXMLGregorianCalendar.java254 public abstract void setYear(BigInteger year); in setYear()
269 public abstract void setYear(int year); in setYear()
/libcore/luni/src/test/java/libcore/java/util/
DCalendarTest.java147 private void testSetSelfConsistent(TimeZone timeZone, int year, int month, int day) { in testSetSelfConsistent()
199 int year, int month, int day, int hour, int minute) { in assertCalendarEquals()
DOldTimeZoneTest.java30 … public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { in getOffset()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java183 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) { in getOffset()
351 private int year; field in ZoneInfo.WallTime
/libcore/luni/src/main/java/java/sql/
DDate.java227 int year = Integer.parsePositiveInt(parts[0]); in valueOf() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSimpleDateFormatTest.java512 int year = cal.get(Calendar.YEAR); in test_get2DigitYearStart() local
733 int year = cal.get(Calendar.YEAR); in test_set2DigitYearStartLjava_util_Date() local
/libcore/luni/src/main/java/java/util/zip/
DZipEntry.java291 int year = cal.get(Calendar.YEAR); in setTime() local
/libcore/luni/src/main/java/java/text/
DSimpleDateFormat.java584 int year = calendar.get(Calendar.YEAR); in append() local
869 int year = result.intValue(); in parse() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCalendarTest.java467 int year = Integer.MIN_VALUE + 71; in test_getTimeInMillis() local
/libcore/benchmarks/libs/
Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...