#include "utypeinfo.h"
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#include "unicode/ucal.h"
#include "unicode/uloc.h"
#include "unicode/calendar.h"
#include "unicode/timezone.h"
#include "unicode/gregocal.h"
#include "unicode/simpletz.h"
#include "unicode/ustring.h"
#include "unicode/strenum.h"
#include "unicode/localpointer.h"
#include "cmemory.h"
#include "cstring.h"
#include "iso8601cal.h"
#include "ustrenum.h"
#include "uenumimp.h"
#include "ulist.h"
#include "ulocimp.h"
U_NAMESPACE_USE
static TimeZone*
_createTimeZone(const char16_t* zoneID, int32_t len, UErrorCode* ec) { … }
U_CAPI UEnumeration* U_EXPORT2
ucal_openTimeZoneIDEnumeration(USystemTimeZoneType zoneType, const char* region,
const int32_t* rawOffset, UErrorCode* ec) { … }
U_CAPI UEnumeration* U_EXPORT2
ucal_openTimeZones(UErrorCode* ec) { … }
U_CAPI UEnumeration* U_EXPORT2
ucal_openCountryTimeZones(const char* country, UErrorCode* ec) { … }
U_CAPI int32_t U_EXPORT2
ucal_getDefaultTimeZone(char16_t* result, int32_t resultCapacity, UErrorCode* ec) { … }
U_CAPI void U_EXPORT2
ucal_setDefaultTimeZone(const char16_t* zoneID, UErrorCode* ec) { … }
U_CAPI int32_t U_EXPORT2
ucal_getHostTimeZone(char16_t* result, int32_t resultCapacity, UErrorCode* ec) { … }
U_CAPI int32_t U_EXPORT2
ucal_getDSTSavings(const char16_t* zoneID, UErrorCode* ec) { … }
U_CAPI UDate U_EXPORT2
ucal_getNow()
{ … }
#define ULOC_LOCALE_IDENTIFIER_CAPACITY …
U_CAPI UCalendar* U_EXPORT2
ucal_open( const char16_t* zoneID,
int32_t len,
const char* locale,
UCalendarType caltype,
UErrorCode* status)
{ … }
U_CAPI void U_EXPORT2
ucal_close(UCalendar *cal)
{ … }
U_CAPI UCalendar* U_EXPORT2
ucal_clone(const UCalendar* cal,
UErrorCode* status)
{ … }
U_CAPI void U_EXPORT2
ucal_setTimeZone( UCalendar* cal,
const char16_t* zoneID,
int32_t len,
UErrorCode *status)
{ … }
U_CAPI int32_t U_EXPORT2
ucal_getTimeZoneID(const UCalendar *cal,
char16_t *result,
int32_t resultLength,
UErrorCode *status)
{ … }
U_CAPI int32_t U_EXPORT2
ucal_getTimeZoneDisplayName(const UCalendar* cal,
UCalendarDisplayNameType type,
const char *locale,
char16_t* result,
int32_t resultLength,
UErrorCode* status)
{ … }
U_CAPI UBool U_EXPORT2
ucal_inDaylightTime( const UCalendar* cal,
UErrorCode* status )
{ … }
U_CAPI void U_EXPORT2
ucal_setGregorianChange(UCalendar *cal, UDate date, UErrorCode *pErrorCode) { … }
U_CAPI UDate U_EXPORT2
ucal_getGregorianChange(const UCalendar *cal, UErrorCode *pErrorCode) { … }
U_CAPI int32_t U_EXPORT2
ucal_getAttribute( const UCalendar* cal,
UCalendarAttribute attr) UPRV_NO_SANITIZE_UNDEFINED { … }
U_CAPI void U_EXPORT2
ucal_setAttribute( UCalendar* cal,
UCalendarAttribute attr,
int32_t newValue)
{ … }
U_CAPI const char* U_EXPORT2
ucal_getAvailable(int32_t index)
{ … }
U_CAPI int32_t U_EXPORT2
ucal_countAvailable()
{ … }
U_CAPI UDate U_EXPORT2
ucal_getMillis( const UCalendar* cal,
UErrorCode* status)
{ … }
U_CAPI void U_EXPORT2
ucal_setMillis( UCalendar* cal,
UDate dateTime,
UErrorCode* status )
{ … }
U_CAPI void U_EXPORT2
ucal_setDate( UCalendar* cal,
int32_t year,
int32_t month,
int32_t date,
UErrorCode *status)
{ … }
U_CAPI void U_EXPORT2
ucal_setDateTime( UCalendar* cal,
int32_t year,
int32_t month,
int32_t date,
int32_t hour,
int32_t minute,
int32_t second,
UErrorCode *status)
{ … }
U_CAPI UBool U_EXPORT2
ucal_equivalentTo( const UCalendar* cal1,
const UCalendar* cal2)
{ … }
U_CAPI void U_EXPORT2
ucal_add( UCalendar* cal,
UCalendarDateFields field,
int32_t amount,
UErrorCode* status) UPRV_NO_SANITIZE_UNDEFINED { … }
U_CAPI void U_EXPORT2
ucal_roll( UCalendar* cal,
UCalendarDateFields field,
int32_t amount,
UErrorCode* status) UPRV_NO_SANITIZE_UNDEFINED { … }
U_CAPI int32_t U_EXPORT2
ucal_get( const UCalendar* cal,
UCalendarDateFields field,
UErrorCode* status ) UPRV_NO_SANITIZE_UNDEFINED { … }
U_CAPI void U_EXPORT2
ucal_set( UCalendar* cal,
UCalendarDateFields field,
int32_t value) UPRV_NO_SANITIZE_UNDEFINED { … }
U_CAPI UBool U_EXPORT2
ucal_isSet( const UCalendar* cal,
UCalendarDateFields field) UPRV_NO_SANITIZE_UNDEFINED { … }
U_CAPI void U_EXPORT2
ucal_clearField( UCalendar* cal,
UCalendarDateFields field) UPRV_NO_SANITIZE_UNDEFINED { … }
U_CAPI void U_EXPORT2
ucal_clear(UCalendar* calendar)
{ … }
U_CAPI int32_t U_EXPORT2
ucal_getLimit( const UCalendar* cal,
UCalendarDateFields field,
UCalendarLimitType type,
UErrorCode *status) UPRV_NO_SANITIZE_UNDEFINED { … }
U_CAPI const char * U_EXPORT2
ucal_getLocaleByType(const UCalendar *cal, ULocDataLocaleType type, UErrorCode* status)
{ … }
U_CAPI const char * U_EXPORT2
ucal_getTZDataVersion(UErrorCode* status)
{ … }
U_CAPI int32_t U_EXPORT2
ucal_getCanonicalTimeZoneID(const char16_t* id, int32_t len,
char16_t* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status) { … }
U_DRAFT int32_t U_EXPORT2
ucal_getIanaTimeZoneID(const char16_t* id, int32_t len,
char16_t* result, int32_t resultCapacity, UErrorCode* status)
{ … }
U_CAPI const char * U_EXPORT2
ucal_getType(const UCalendar *cal, UErrorCode* status)
{ … }
U_CAPI UCalendarWeekdayType U_EXPORT2
ucal_getDayOfWeekType(const UCalendar *cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode* status)
{ … }
U_CAPI int32_t U_EXPORT2
ucal_getWeekendTransition(const UCalendar *cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode *status)
{ … }
U_CAPI UBool U_EXPORT2
ucal_isWeekend(const UCalendar *cal, UDate date, UErrorCode *status)
{ … }
U_CAPI int32_t U_EXPORT2
ucal_getFieldDifference(UCalendar* cal, UDate target,
UCalendarDateFields field,
UErrorCode* status )
{ … }
static const UEnumeration defaultKeywordValues = …;
static const char * const CAL_TYPES[] = …;
U_CAPI UEnumeration* U_EXPORT2
ucal_getKeywordValuesForLocale(const char * , const char* locale, UBool commonlyUsed, UErrorCode *status) { … }
U_CAPI UBool U_EXPORT2
ucal_getTimeZoneTransitionDate(const UCalendar* cal, UTimeZoneTransitionType type,
UDate* transition, UErrorCode* status)
{ … }
U_CAPI int32_t U_EXPORT2
ucal_getWindowsTimeZoneID(const char16_t* id, int32_t len, char16_t* winid, int32_t winidCapacity, UErrorCode* status) { … }
U_CAPI int32_t U_EXPORT2
ucal_getTimeZoneIDForWindowsID(const char16_t* winid, int32_t len, const char* region, char16_t* id, int32_t idCapacity, UErrorCode* status) { … }
U_CAPI void U_EXPORT2 ucal_getTimeZoneOffsetFromLocal(
const UCalendar* cal,
UTimeZoneLocalOption nonExistingTimeOpt,
UTimeZoneLocalOption duplicatedTimeOpt,
int32_t* rawOffset, int32_t* dstOffset, UErrorCode* status)
{ … }
#endif