Get a numeric attribute associated with a UCalendar. Numeric attributes include the first day of the week, or the minimal numbers of days in the first week of the month.
|cal||The UCalendar to query. |
|attr||The desired attribute; one of UCAL_LENIENT, UCAL_FIRST_DAY_OF_WEEK, or UCAL_MINIMAL_DAYS_IN_FIRST_WEEK |
- The value of attr.
- See also:
- ucal_setAttribute ICU 2.0
Definition at line 265 of file ucal.cpp.
References UCAL_FIRST_DAY_OF_WEEK, UCAL_LENIENT, and UCAL_MINIMAL_DAYS_IN_FIRST_WEEK.