Home | History | Annotate | Download | only in i18n

Lines Matching refs:month

619     {/*N/A*/-1,       /*N/A*/-1,     /*N/A*/-1,       /*N/A*/-1}, // MONTH
650 // fields such as MONTH, HOUR, AM_PM, etc. It is possible to compute the
664 // local fields (YEAR, MONTH, DATE, HOUR, MINUTE, etc.)
686 // local fields (YEAR, MONTH, DATE, HOUR, MINUTE, etc.)
1197 Calendar::set(int32_t year, int32_t month, int32_t date)
1200 set(UCAL_MONTH, month);
1207 Calendar::set(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute)
1210 set(UCAL_MONTH, month);
1219 Calendar::set(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second)
1222 set(UCAL_MONTH, month);
1527 // These must include, at a minimum, MONTH, DAY_OF_MONTH,
1565 * Compute the Gregorian calendar year, month, and day of month from
1588 * Compute the Gregorian calendar year, month, and day of month from the
1692 // in question (either a year or a month). Zero represents the
1754 // as the hour, the day of the month, and the era.
1794 // Rolling the month involves both pinning the final value
1796 // DAY_OF_MONTH if, after updating the MONTH field, it is illegal.
1797 // E.g., <jan31>.roll(MONTH, 1) -> <feb28> or <feb29>.
1807 // Keep the day of month in range. We don't want to spill over
1808 // into the next month; e.g., we don't want jan31 + 1 mo -> feb31 ->
1873 // thing happens at the end of the month.
1882 // the month. Then we discard the first partial week if it
1889 // the first or the last day of the month. Easy, eh?
1897 // of the month.
1901 // Get the first day of the first full week of the month,
1912 // day of the month.
1917 // Get the limit day for the blocked-off rectangular month; that
1918 // is, the day which is one past the last day of the month,
1919 // after the month has already been filled in with phantom days
1930 // Finally, pin to the real start and end of the month.
1988 // Finally, pin to the real start and end of the month.
2040 // Roll the day of week in the month using millis. Determine
2041 // the first day of the week in the month, and then the last,
2045 // in this month.
2048 // in this month.
2803 fprintf(stderr, "%s:%d: ILLEGAL ARG because DOW in month cannot be 0\n",
2973 // time and call clear(MONTH) to reset the MONTH to January. This
2974 // is legacy behavior. Without this, clear(MONTH) has no effect,
3187 // the calendar to a time and call clear(MONTH) to reset the MONTH
3189 // clear(MONTH) has no effect, since the internally set JULIAN_DAY
3228 // If useMonth is true, get the day before the start of the month.
3230 // give calendar subclass a chance to have a default 'first' month
3231 int32_t month;
3234 month = internalGet(UCAL_MONTH);
3236 month = getDefaultMonthInYear(year);
3239 int32_t julianDay = handleComputeMonthStart(year, useMonth ? month : 0, useMonth);
3248 dayOfMonth = getDefaultDayInMonth(year, month);
3262 // or Gregorian). (or it is before the month we are in, if useMonth is True)
3269 // Get the 0-based localized DOW of day one of the month or year.
3278 // Find the first target DOW (dowLocal) in the month or year.
3279 // Actually, it may be just before the first of the month or year.
3284 // Adjust the target DOW to be in the month or year.
3289 // The only trickiness occurs if the day-of-week-in-month is
3296 // Move date to the last of this day-of-week in this month,
3299 // past the first of the given day-of-week in this month.
3409 Calendar::getDefaultDayInMonth(int32_t /*eyear*/, int32_t /*month*/)
3456 // or Gregorian). (or it is before the month we are in, if useMonth is True)
3463 // Get the 0-based localized DOW of day one of the month or year.
3529 return yearWoy+1; // month 0, late woy = in the next year
3541 //within 1st week and in this month..
3550 int32_t Calendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const
3552 return handleComputeMonthStart(extendedYear, month+1, TRUE) -
3553 handleComputeMonthStart(extendedYear, month, TRUE);
3655 // month.
3663 // first or last localized DOW. We know the last week of a month
3719 // the first day of a month. Unlike WEEK_OF_YEAR, week number for the
3720 // week which contains days from both previous and current month is
3721 // not unique. For example, last several days in the previous month