Home
last modified time | relevance | path

Searched defs:month (Results 1 – 25 of 74) sorted by relevance

123

/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKTemporalAdjusters.java117 assertEquals(test.getMonth(), month); in test_firstDayOfMonth_nonLeap() local
130 assertEquals(test.getMonth(), month); in test_firstDayOfMonth_leap() local
151 assertEquals(test.getMonth(), month); in test_lastDayOfMonth_nonLeap() local
164 assertEquals(test.getMonth(), month); in test_lastDayOfMonth_leap() local
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/
DMonthDay.java142 private final int month; field in MonthDay
212 public static MonthDay of(Month month, int dayOfMonth) { in of()
238 public static MonthDay of(int month, int dayOfMonth) { in of()
314 private MonthDay(int month, int dayOfMonth) { in MonthDay()
521 public MonthDay withMonth(int month) { in withMonth()
537 public MonthDay with(Month month) { in with()
DYearMonth.java149 private final int month; 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()
716 public YearMonth withMonth(int month) { in withMonth()
DLocalDate.java176 private final short month; 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()
361 int month = (marchMonth0 + 2) % 12 + 1; 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()
1097 public LocalDate withMonth(int month) { in withMonth()
2221 int month = in.readByte(); in readExternal() local
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKResolverStyle.java110 …resolverStyle(String str, ResolverStyle style, Class<?> expectedEx, int year, int month, int day) { in test_resolverStyle()
128 assertEquals(accessor.get(ChronoField.MONTH_OF_YEAR), month); in test_resolverStyle() local
DTCKDateTimeFormatters.java227 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/
DDate.java57 public Date(int year, int month, int day) { in Date()
134 int month = Integer.parseInt(mm); in valueOf() local
158 int month = super.getMonth() + 1; in toString() local
DTimestamp.java87 public Timestamp(int year, int month, int date, in Timestamp()
176 int month = 0; in valueOf() local
277 int month = super.getMonth() + 1; in toString() local
/libcore/ojluni/src/main/java/sun/util/calendar/
DBaseCalendar.java151 public Date setNormalizedDate(int normalizedYear, int month, int dayOfMonth) { in setNormalizedDate()
196 int month = bdate.getMonth(); in validate() local
275 long month = bdate.getMonth(); in normalizeMonth() local
327 int month = gdate.getMonth(); in getMonthLength() 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()
451 int month = 12 * priorDays + 373; in getCalendarDateFromFixedDate() local
DCalendarDate.java69 private int month; field in CalendarDate
169 public CalendarDate setMonth(int month) { in setMonth()
305 public CalendarDate setDate(int year, int month, int dayOfMonth) { in setDate()
312 public CalendarDate addDate(int year, int month, int dayOfMonth) { in addDate()
DImmutableGregorianDate.java73 public CalendarDate setMonth(int month) { in setMonth()
149 public CalendarDate setDate(int year, int month, int dayOfMonth) { in setDate()
153 public CalendarDate addDate(int year, int month, int dayOfMonth) { in addDate()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DCopticDate.java109 private final short month; field in CopticDate
128 int month = doy0 / 30 + 1; in ofEpochDay() local
133 private static CopticDate resolvePreviousValid(int prolepticYear, int month, int day) { in resolvePreviousValid()
149 CopticDate(int prolepticYear, int month, int dayOfMonth) { in CopticDate()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTestIsoChronology.java179 public void test_badDates(int year, int month, int dom) { in test_badDates()
186 int month = 5; in test_date_withEra() local
191 assertEquals(test.get(ChronoField.MONTH_OF_YEAR), month); in test_date_withEra() local
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestJapaneseChronology.java180 …public void test_transitions(JapaneseEra era, int yearOfEra, int month, int dayOfMonth, int gregor… in test_transitions()
198 …public void test_firstDayOfEra(JapaneseEra era, int yearOfEra, int dayOfYear, int month, int dayOf… in test_firstDayOfEra()
205 public void test_invalidDate(JapaneseEra era, int yearOfEra, int month, int dayOfMonth) { in test_invalidDate()
DTestUmmAlQuraChronology.java130 ValueRange month = chrono.range(MONTH_OF_YEAR); in Test_UmmAlQuraChronoRange() local
403 public void test_valueRange_monthDays(int year, int month, int maxlength) { in test_valueRange_monthDays()
409 assertEquals(range.getMaximum(), month, maxlength); in test_valueRange_monthDays() local
415 public void test_lastDayOfMonth(int year, int month, int numDays) { in test_lastDayOfMonth()
442 public void test_ofPattern(int year, int month, int day, String expected) { in test_ofPattern()
459 public void test_formatterOfLocalizedDate(int year, int month, int day, String expected) { in test_formatterOfLocalizedDate()
805 public void test_alignedWeekOfMonth(int year, int month, int dom, int wom, int dowm) { in test_alignedWeekOfMonth()
814 public void test_alignedDayOfWeekInMonth(int year, int month, int dom, int wom, int dowm) { in test_alignedDayOfWeekInMonth()
DTestExampleCode.java92 int month = now1.get(ChronoField.MONTH_OF_YEAR); in test_chronoPackageExample() local
152 int month = now1.get(ChronoField.MONTH_OF_YEAR); in test_calendarPackageExample() local
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DBaseCalendar.java59 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()
184 int normalizedYear, int month, int dayOfMonth) { in setNormalizedDate()
DCalendarDate.java74 public sun.util.calendar.CalendarDate setMonth(int month) { in setMonth()
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()
278 private int month; field in CalendarDate
DImmutableGregorianDate.java67 public sun.util.calendar.CalendarDate setMonth(int month) { in setMonth()
143 public sun.util.calendar.CalendarDate setDate(int year, int month, int dayOfMonth) { in setDate()
147 public sun.util.calendar.CalendarDate addDate(int year, int month, int dayOfMonth) { in addDate()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransitionRule.java111 private final Month month; field in ZoneOffsetTransitionRule
173 Month month, in of()
218 Month month, in ZoneOffsetTransitionRule()
347 Month month = Month.of(data >>> 28); in readExternal() local
/libcore/ojluni/src/main/java/java/time/chrono/
DChronology.java316 default ChronoLocalDate date(Era era, int yearOfEra, int month, int dayOfMonth) { in date()
330 ChronoLocalDate date(int prolepticYear, int month, int dayOfMonth); in date()
739 public default long epochSecond(int prolepticYear, int month, int dayOfMonth, in epochSecond()
768 public default long epochSecond(Era era, int yearOfEra, int month, int dayOfMonth, in epochSecond()
DIsoChronology.java193 public LocalDate date(Era era, int yearOfEra, int month, int dayOfMonth) { in date()
210 public LocalDate date(int prolepticYear, int month, int dayOfMonth) { in date()
292 public long epochSecond(int prolepticYear, int month, int dayOfMonth, in epochSecond()
340 private int numberOfDaysOfMonth(int year, int month) { in numberOfDaysOfMonth()
DHijrahChronology.java383 public HijrahDate date(Era era, int yearOfEra, int month, int dayOfMonth) { in date()
398 public HijrahDate date(int prolepticYear, int month, int dayOfMonth) { in date()
584 void checkValidMonth(int month) { in checkValidMonth()
606 int month = epochMonthToMonth(epochMonth); in getHijrahDateInfo() local
646 int getDayOfYear(int prolepticYear, int month) { in getDayOfYear()
796 private int yearMonthToDayOfYear(int prolepticYear, int month) { in yearMonthToDayOfYear()
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeFactory.java623 final BigInteger month) { in newDurationYearMonth()
656 final int month) { in newDurationYearMonth()
790 final int month, in newXMLGregorianCalendar()
826 final int month, in newXMLGregorianCalendar()
888 final int month, in newXMLGregorianCalendarDate()
/libcore/ojluni/src/main/java/java/util/
DDate.java199 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()
726 public void setMonth(int month) { in setMonth()

123