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

int32_t HebrewCalendar::absoluteDayToDayOfWeek ( int32_t  day  )  [static, private]

Find the day of the week for a given day

Parameters:
day The # of days since the start of the Hebrew calendar, 1-based (i.e. 1/1/1 AM is day 1).

Definition at line 429 of file hebrwcal.cpp.

{
    // We know that 1/1/1 AM is a Monday, which makes the math easy...
    return (day % 7) + 1;
}


Generated by  Doxygen 1.6.0   Back to index