Lines Matching defs:month

588             // Rolling the month involves both pinning the final value to [0, 11]
650 // Keep the day of month in the range. We
652 // month; e.g., we don't want jan31 + 1 mo ->
678 // The year has only one month. No need to
680 // and the last year have only one month.)
766 // to month and day of month.
784 long month1; // fixed date of the first day (usually 1) of the month
785 int monthLength; // actual month length
794 // the first day of week of the month.
798 // week starts from the previous month.
811 // nfd is out of the month.
834 // It may not be a regular month. Convert the date and range to
1228 // In Before Meiji and Meiji, January is the first month.
1658 int month = jdate.getMonth() - 1; // 0-based
1664 internalSet(MONTH, month);
2001 int month = JANUARY;
2006 month = internalGet(MONTH);
2008 // If the month is out of range, adjust it into range.
2009 if (month > DECEMBER) {
2010 year += month / 12;
2011 month %= 12;
2012 } else if (month < JANUARY) {
2014 year += CalendarUtils.floorDivide(month, 12, rem);
2015 month = rem[0];
2020 month = d.getMonth() - 1;
2029 if (month < m)
2030 month = m;
2031 if (month == m)
2037 date.setDate(year, month + 1, firstDayOfMonth);
2041 // the first day of either `month' or January in 'year'.
2047 // We are on the "first day" of the month (which may
2083 // We are basing this on the day-of-week-in-month. The only
2084 // trickiness occurs if the day-of-week-in-month is
2098 int lastDate = monthLength(month, year) + (7 * (dowim + 1));
2162 * Returns the fixed date of the first date of the month (usually
2163 * the 1st of the month) before the specified date.
2165 * @param date the date for which the first day of the month is
2181 // Otherwise, we can use the 1st day of the month.
2197 * Returns the length of the specified month in the specified
2202 private final int monthLength(int month, int gregorianYear) {
2204 GregorianCalendar.LEAP_MONTH_LENGTH[month] : GregorianCalendar.MONTH_LENGTH[month];
2208 * Returns the length of the specified month in the year provided
2213 private final int monthLength(int month) {
2216 GregorianCalendar.LEAP_MONTH_LENGTH[month] : GregorianCalendar.MONTH_LENGTH[month];
2236 * transition month. For example, if the give date is Heisei 1
2240 * given date is not in any transition month, then -1 is returned.
2302 * month to jump around. E.g., we don't want Jan 31 + 1 month to go to Mar
2304 * problem call this method to retain the proper month.