/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestJapaneseChronoImpl.java | 144 "different DAY_OF_YEAR values in " + era + ", year: " + year); in test_dayOfYearVsCalendar() local 146 "different maximum for DAY_OF_YEAR in " + era + ", year: " + year); in test_dayOfYearVsCalendar() local 148 "different minimum for DAY_OF_YEAR in " + era + ", year: " + year); in test_dayOfYearVsCalendar() local
|
D | TestExampleCode.java | 93 int year = now1.get(ChronoField.YEAR); in test_chronoPackageExample() local 153 int year = now1.get(ChronoField.YEAR); in test_calendarPackageExample() local
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TestIsoChronology.java | 179 public void test_badDates(int year, int month, int dom) { in test_badDates() 185 int year = 5; in test_date_withEra() local 190 assertEquals(test.get(ChronoField.YEAR_OF_ERA), year); in test_date_withEra() local 196 assertEquals(test.get(YEAR_OF_ERA), year); in test_date_withEra() local 271 public void test_isLeapYear(int year, boolean isLeapYear) { in test_isLeapYear()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKResolverStyle.java | 110 …public void test_resolverStyle(String str, ResolverStyle style, Class<?> expectedEx, int year, int… in test_resolverStyle() 127 assertEquals(accessor.get(ChronoField.YEAR_OF_ERA), year); in test_resolverStyle() local
|
D | TCKDateTimeFormatters.java | 227 Integer year, Integer month, Integer day, String offsetId, String zoneId, in test_print_isoLocalDate() 244 Integer year, Integer month, Integer day, String offsetId, String zoneId, in test_parse_isoLocalDate() 321 Integer year, Integer month, Integer day, String offsetId, String zoneId, in test_print_isoOffsetDate() 338 Integer year, Integer month, Integer day, String offsetId, String zoneId, in test_parse_isoOffsetDate() 379 Integer year, Integer month, Integer day, String offsetId, String zoneId, in test_print_isoDate() 396 Integer year, Integer month, Integer day, String offsetId, String zoneId, in test_parse_isoDate() 671 Integer year, Integer month, Integer day, in test_print_isoLocalDateTime() 689 Integer year, Integer month, Integer day, in test_parse_isoLocalDateTime() 750 Integer year, Integer month, Integer day, in test_print_isoOffsetDateTime() 768 Integer year, Integer month, Integer day, in test_parse_isoOffsetDateTime() [all …]
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Date.java | 57 public Date(int year, int month, int day) { in Date() 133 int year = Integer.parseInt(yyyy); in valueOf() local 157 int year = super.getYear() + 1900; in toString() local
|
D | Timestamp.java | 87 public Timestamp(int year, int month, int date, in Timestamp() 175 int year = 0; in valueOf() local 276 int year = super.getYear() + 1900; in toString() local
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | BaseCalendar.java | 168 protected final boolean hit(int year) { in hit() 184 protected void setCache(int year, long jan1, int len) { in setCache() 274 int year = bdate.getNormalizedYear(); in normalizeMonth() local 335 private int getMonthLength(int year, int month) { in getMonthLength() 349 final long getDayOfYear(int year, int month, int dayOfMonth) { in getDayOfYear() 367 public long getFixedDate(int year, int month, int dayOfMonth, BaseCalendar.Date cache) { in getFixedDate() 425 int year; in getCalendarDateFromFixedDate() local 499 int year; in getGregorianYearFromFixedDate() local
|
D | JulianCalendar.java | 84 public void setNormalizedYear(int year) { in setNormalizedYear() 188 int year; in getCalendarDateFromFixedDate() local 220 int year = (int) CalendarUtils.floorDivide(4 * (fixedDate - JULIAN_EPOCH) + 1464, 1461); in getYearFromFixedDate() local
|
D | CalendarDate.java | 68 private int year; field in CalendarDate 126 public CalendarDate setYear(int year) { in setYear() 305 public CalendarDate setDate(int year, int month, int dayOfMonth) { in setDate() 312 public CalendarDate addDate(int year, int month, int dayOfMonth) { in addDate()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestOffsetDateTime_instants.java | 133 int year = Year.MIN_VALUE - 1; in factory_ofInstant_tooLow() local 146 long year = Year.MAX_VALUE + 1L; in factory_ofInstant_tooBig() local 155 int year = Year.MIN_VALUE; in factory_ofInstant_minWithMinOffset() local 171 int year = Year.MIN_VALUE; in factory_ofInstant_minWithMaxOffset() local 187 int year = Year.MAX_VALUE; in factory_ofInstant_maxWithMinOffset() local 203 int year = Year.MAX_VALUE; in factory_ofInstant_maxWithMaxOffset() local
|
D | AbstractTest.java | 75 protected static boolean isIsoLeap(long year) { in isIsoLeap()
|
/libcore/ojluni/src/test/java/util/GregorianCalendar/ |
D | GregorianCalendarTest.java | 191 static void checkTimes(GregorianCalendar gc, long year, long month, long dayOfMonth, in checkTimes() 208 static final int getDelta(int year) { in getDelta()
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | BaseCalendar.java | 59 private int getMonthLength(int year, int month) { in getMonthLength() 67 final long getDayOfYear(int year, int month, int dayOfMonth) { in getDayOfYear() 76 int year, int month, int dayOfMonth, sun.util.calendar.BaseCalendar.Date cache) { in getFixedDate() 194 protected final boolean hit(int year) { in hit() 210 protected void setCache(int year, long jan1, int len) { in setCache()
|
D | CalendarDate.java | 53 public sun.util.calendar.CalendarDate setYear(int year) { in setYear() 158 public sun.util.calendar.CalendarDate setDate(int year, int month, int dayOfMonth) { in setDate() 162 public sun.util.calendar.CalendarDate addDate(int year, int month, int dayOfMonth) { in addDate() 284 private int year; field in CalendarDate
|
/libcore/ojluni/src/main/java/java/time/ |
D | YearMonth.java | 145 private final int year; field in YearMonth 207 public static YearMonth of(int year, Month month) { in of() 220 public static YearMonth of(int year, int month) { in of() 300 private YearMonth(int year, int month) { in YearMonth() 702 public YearMonth withYear(int year) { in withYear() 1239 int year = in.readInt(); in readExternal() local
|
D | LocalDate.java | 172 private final int year; field in LocalDate 244 public static LocalDate of(int year, Month month, int dayOfMonth) { in of() 264 public static LocalDate of(int year, int month, int dayOfMonth) { in of() 284 public static LocalDate ofYearDay(int year, int dayOfYear) { in ofYearDay() 366 int year = YEAR.checkValidIntValue(yearEst); in ofEpochDay() local 438 private static LocalDate create(int year, int month, int dayOfMonth) { in create() 471 private static LocalDate resolvePreviousValid(int year, int month, int day) { in resolvePreviousValid() 493 private LocalDate(int year, int month, int dayOfMonth) { in LocalDate() 1078 public LocalDate withYear(int year) { in withYear() 2220 int year = in.readInt(); in readExternal() local
|
/libcore/ojluni/src/main/java/java/util/ |
D | GregorianCalendar.java | 641 public GregorianCalendar(int year, int month, int dayOfMonth) { in GregorianCalendar() 658 public GregorianCalendar(int year, int month, int dayOfMonth, int hourOfDay, in GregorianCalendar() 678 public GregorianCalendar(int year, int month, int dayOfMonth, int hourOfDay, in GregorianCalendar() 699 GregorianCalendar(int year, int month, int dayOfMonth, in GregorianCalendar() 828 public boolean isLeapYear(int year) { in isLeapYear() 959 int year = internalGet(YEAR); local 1683 int year = gc.cdate.getNormalizedYear(); in getActualMinimum() local 2048 int year = get(YEAR); // implicitly calls complete() in getWeekYear() local 2351 int year; in computeFields() local 2637 int year = isSet(YEAR) ? internalGet(YEAR) : EPOCH_YEAR; in computeTime() local [all …]
|
D | SimpleTimeZone.java | 362 public void setStartYear(int year) in setStartYear() 563 int year = cdate.getNormalizedYear(); in getOffsets() local 604 public int getOffset(int era, int year, int month, int day, int dayOfWeek, in getOffset() 672 private int getOffset(BaseCalendar cal, BaseCalendar.Date cdate, int year, long time) { in getOffset() 714 private long getStart(BaseCalendar cal, BaseCalendar.Date cdate, int year) { in getStart() 723 private long getEnd(BaseCalendar cal, BaseCalendar.Date cdate, int year) { in getEnd() 736 int mode, int year, int month, int dayOfMonth, in getTransition() 1190 final long year; field in SimpleTimeZone.Cache 1194 Cache(long year, long start, long end) { in Cache()
|
D | Date.java | 199 public Date(int year, int month, int date) { in Date() 221 public Date(int year, int month, int date, int hrs, int min) { in Date() 244 public Date(int year, int month, int date, int hrs, int min, int sec) { in Date() 317 public static long UTC(int year, int month, int date, in UTC() 455 int year = Integer.MIN_VALUE; in parse() local 691 public void setYear(int year) { in setYear() 1297 private static final BaseCalendar getCalendarSystem(int year) { in getCalendarSystem()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKTemporalAdjusters.java | 338 …public void test_dayOfWeekInMonth_positive(int year, int month, DayOfWeek dow, LocalDate expected)… in test_dayOfWeekInMonth_positive() 367 public void test_dayOfWeekInMonth_zero(int year, int month, DayOfWeek dow, LocalDate expected) { in test_dayOfWeekInMonth_zero() 394 …public void test_dayOfWeekInMonth_negative(int year, int month, DayOfWeek dow, LocalDate expected)… in test_dayOfWeekInMonth_negative() 418 public void test_firstInMonth(int year, int month, DayOfWeek dow, LocalDate expected) { in test_firstInMonth() 440 public void test_lastInMonth(int year, int month, DayOfWeek dow, LocalDate expected) { in test_lastInMonth()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | JapaneseDate.java | 342 JapaneseDate(JapaneseEra era, int year, LocalDate isoDate) { in JapaneseDate() 501 int year = isoDate.getYear(); in toPrivateJapaneseDate() local 584 int year = JapaneseChronology.INSTANCE.prolepticYear(era, yearOfEra); in withYear() local 601 private JapaneseDate withYear(int year) { in withYear() 747 int year = in.readInt(); in readExternal() local
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | DatatypeFactory.java | 622 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()
|
/libcore/luni/src/test/java/libcore/javax/xml/datatype/ |
D | XMLGregorianCalendarTest.java | 166 private int year; field in XMLGregorianCalendarTest.XMLGregorianCalendarImpl 189 public void setYear(BigInteger year) { in setYear() 194 public void setYear(int year) { in setYear()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKHijrahChronology.java | 149 public void test_badDates(int year, int month, int dom) { in test_badDates() 156 int year = 1435; in test_ofYearDayTooLarge() local 192 int year = HijrahChronology.INSTANCE.prolepticYear(era, 1); in test_InvalidEras() local 295 final int year = 1434; in data_resolve_ymd() local 439 final int year = 1343; in data_resolve_yd() local
|