Home | History | Annotate | Download | only in unicode

Lines Matching full:year

50  * Prior to the institution of the Gregorian Calendar, New Year's Day was March 25. To
56 * 53. Week 1 for a year is the first week that contains at least
57 * <code>getMinimalDaysInFirstWeek()</code> days from that year. It thus
60 * Weeks between week 1 of one year and week 1 of the following year are
99 * cout << "YEAR: " << calendar->get( UCAL_YEAR, success ) << endl;
121 * cout << "YEAR: " << calendar->get( UCAL_YEAR, success ) << endl;
234 * @param year The value used to set the YEAR time field in the calendar.
242 GregorianCalendar(int32_t year, int32_t month, int32_t date, UErrorCode& success);
248 * @param year The value used to set the YEAR time field in the calendar.
258 GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, UErrorCode& success);
264 * @param year The value used to set the YEAR time field in the calendar.
275 GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second, UErrorCode& success);
326 * Return true if the given year is a leap year. Determination of whether a year is
327 * a leap year is actually very complicated. We do something crude and mostly
336 * @param year The given year.
337 * @return True if the given year is a leap year; false otherwise.
340 UBool isLeapYear(int32_t year) const;
498 * given month in the given extended year. Subclasses should override
500 * @param eyear the extended year
503 * the given year, otherwise, compute the day before the first day of
506 * day of the given month and year
524 * year of this calendar system. Subclasses should override this
532 * Return the number of days in the given extended year of this
549 * return the length of the month according to the given year.
551 * @param year the given year.
555 virtual int32_t monthLength(int32_t month, int32_t year) const;
559 * return the length of the given year.
560 * @param year the given year.
561 * @return the length of the given year.
564 int32_t yearLength(int32_t year) const;
567 * return the length of the year field.
568 * @return the length of the year field
574 * After adjustments such as add(MONTH), add(YEAR), we don't want the
616 * Return the extended year defined by the current fields. This will
617 * use the UCAL_EXTENDED_YEAR field or the UCAL_YEAR and supra-year fields (such
620 * @return the extended year
627 * (YEAR_WOY and WEEK_OF_YEAR) to an extended year in the case
628 * where YEAR, EXTENDED_YEAR are not set.
630 * @return the extended year, UCAL_EXTENDED_YEAR
641 * <li>YEAR
655 * Compute the julian day number of the given year.
657 * @param year the given year.
658 * @param isLeap true if the year is a leap year.
661 static double computeJulianDayOfYear(UBool isGregorian, int32_t year,
709 * The year of the gregorianCutover, with 0 representing
715 * The year of the gregorianCutover, with 0 representing
768 * @return the beginning year of the default century
776 * indicate an uninitialized state. Once the system default century date and year
797 * Returns the beginning date of the 100-year window that dates with 2-digit years
799 * @return the beginning date of the 100-year window that dates with 2-digit years
805 * Returns the first year of the 100-year window that dates with 2-digit years
807 * @return the first year of the 100-year window that dates with 2-digit years
813 * Initializes the 100-year window that dates with 2-digit years are considered