Logo Search packages:      
Sourcecode: icu version File versions  Download package

uint8_t Calendar::getMinimalDaysInFirstWeek ( void   )  const [inherited]

Gets what the minimal days required in the first week of the year are; e.g., if the first week is defined as one that contains the first day of the first month of a year, getMinimalDaysInFirstWeek returns 1. If the minimal days required must be a full week, getMinimalDaysInFirstWeek returns 7.

Returns:
The minimal days required in the first week of the year. ICU 2.0

Definition at line 2090 of file calendar.cpp.

Referenced by Calendar::computeWeekFields(), Calendar::getLimit(), Calendar::handleComputeJulianDay(), Calendar::handleGetExtendedYearFromWeekFields(), GregorianCalendar::roll(), Calendar::roll(), and Calendar::weekNumber().

{
    return fMinimalDaysInFirstWeek;
}


Generated by  Doxygen 1.6.0   Back to index