Home | History | Annotate | Download | only in unicode

Lines Matching refs:UCalendar

24  * UCalendar C API is used  for converting between a <code>UDate</code> object
32 * Types of <code>UCalendar</code> interpret a <code>UDate</code>
39 * <code>UCalendar</code> whose time fields have been initialized
45 * UCalendar *caldef;
56 * A <code>UCalendar</code> object can produce all the time field values
147 typedef void* UCalendar;
174 /** Possible fields in a UCalendar
444 /** Possible days of the week in a UCalendar
467 /** Possible months in a UCalendar. Note: Calendar month is 0-based.
505 /** Possible AM/PM values in a UCalendar
611 * Open a UCalendar.
612 * A UCalendar may be used to convert a millisecond value to a year,
615 * Note: When unknown TimeZone ID is specified, the UCalendar returned
623 * @param type The type of UCalendar to open. This can be UCAL_GREGORIAN to open the Gregorian
629 * @return A pointer to a UCalendar, or 0 if an error occurred.
632 U_STABLE UCalendar* U_EXPORT2
640 * Close a UCalendar.
641 * Once closed, a UCalendar may no longer be used.
642 * @param cal The UCalendar to close.
646 ucal_close(UCalendar *cal);
654 * "Smart pointer" class, closes a UCalendar via ucal_close().
661 U_DEFINE_LOCAL_OPEN_POINTER(LocalUCalendarPointer, UCalendar, ucal_close);
668 * Open a copy of a UCalendar.
672 * @return A pointer to a UCalendar identical to cal.
675 U_STABLE UCalendar* U_EXPORT2
676 ucal_clone(const UCalendar* cal,
680 * Set the TimeZone used by a UCalendar.
681 * A UCalendar uses a timezone for converting from Greenwich time to local time.
682 * @param cal The UCalendar to set.
689 ucal_setTimeZone(UCalendar* cal,
695 * Possible formats for a UCalendar's display name
713 * Get the display name for a UCalendar's TimeZone.
715 * @param cal The UCalendar to query.
726 ucal_getTimeZoneDisplayName(const UCalendar* cal,
734 * Determine if a UCalendar is currently in daylight savings time.
736 * @param cal The UCalendar to query.
742 ucal_inDaylightTime(const UCalendar* cal,
750 * This function works only for Gregorian calendars. If the UCalendar is not
766 ucal_setGregorianChange(UCalendar *cal, UDate date, UErrorCode *pErrorCode);
773 * This function works only for Gregorian calendars. If the UCalendar is not
789 ucal_getGregorianChange(const UCalendar *cal, UErrorCode *pErrorCode);
792 * Types of UCalendar attributes
808 * Get a numeric attribute associated with a UCalendar.
811 * @param cal The UCalendar to query.
819 ucal_getAttribute(const UCalendar* cal,
823 * Set a numeric attribute associated with a UCalendar.
826 * @param cal The UCalendar to set.
834 ucal_setAttribute(UCalendar* cal,
840 * A UCalendar in a locale returned by this function will contain the correct
862 * Get a UCalendar's current time in millis.
864 * @param cal The UCalendar to query.
873 ucal_getMillis(const UCalendar* cal,
877 * Set a UCalendar's current time in millis.
879 * @param cal The UCalendar to set.
888 ucal_setMillis(UCalendar* cal,
893 * Set a UCalendar's current date.
895 * @param cal The UCalendar to set.
907 ucal_setDate(UCalendar* cal,
914 * Set a UCalendar's current date.
916 * @param cal The UCalendar to set.
931 ucal_setDateTime(UCalendar* cal,
950 ucal_equivalentTo(const UCalendar* cal1,
951 const UCalendar* cal2);
954 * Add a specified signed amount to a particular field in a UCalendar.
956 * @param cal The UCalendar to which to add.
969 ucal_add(UCalendar* cal,
975 * Add a specified signed amount to a particular field in a UCalendar.
977 * @param cal The UCalendar to which to add.
990 ucal_roll(UCalendar* cal,
996 * Get the current value of a field from a UCalendar.
998 UCalendar to query.
1012 ucal_get(const UCalendar* cal,
1017 * Set the value of a field in a UCalendar.
1019 * @param cal The UCalendar to set.
1032 ucal_set(UCalendar* cal,
1037 * Determine if a field in a UCalendar is set.
1039 * @param cal The UCalendar to query.
1052 ucal_isSet(const UCalendar* cal,
1056 * Clear a field in a UCalendar.
1058 * @param cal The UCalendar containing the field to clear.
1070 ucal_clearField(UCalendar* cal,
1074 * Clear all fields in a UCalendar.
1076 * @param calendar The UCalendar to clear.
1084 ucal_clear(UCalendar* calendar);
1087 * Possible limit values for a UCalendar
1109 * Determine a limit for a field in a UCalendar.
1111 * @param cal The UCalendar to query.
1123 ucal_getLimit(const UCalendar* cal,
1136 ucal_getLocaleByType(const UCalendar *cal, ULocDataLocaleType type, UErrorCode* status);
1169 * Get the resource keyword value string designating the calendar type for the UCalendar.
1170 * @param cal The UCalendar to query.
1176 ucal_getType(const UCalendar *cal, UErrorCode* status);
1242 * @param cal The UCalendar to query.
1249 ucal_getDayOfWeekType(const UCalendar *cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode* status);
1259 * @param cal The UCalendar to query.
1267 ucal_getWeekendTransition(const UCalendar *cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode *status);
1272 * @param cal The UCalendar to query.
1280 ucal_isWeekend(const UCalendar *cal, UDate date, UErrorCode *status);