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

virtual int32_t Calendar::handleComputeMonthStart ( int32_t  eyear,
int32_t  month,
UBool  useMonth 
) const [protected, pure virtual]

Return the Julian day number of day before the first day of the given month in the given extended year. Subclasses should override this method to implement their calendar system.

Parameters:
eyear the extended year
month the zero-based month, or 0 if useMonth is false
useMonth if false, compute the day before the first day of the given year, otherwise, compute the day before the first day of the given month
Returns:
the Julian day number of the day before the first day of the given month and year

For internal use only.

Implemented in BuddhistCalendar, CECalendar, ChineseCalendar, HebrewCalendar, IndianCalendar, IslamicCalendar, PersianCalendar, and GregorianCalendar.

Referenced by handleComputeJulianDay(), handleGetExtendedYearFromWeekFields(), handleGetMonthLength(), and handleGetYearLength().


Generated by  Doxygen 1.6.0   Back to index