Home | History | Annotate | Download | only in i18n

Lines Matching refs:ec

32 _createTimeZone(const UChar* zoneID, int32_t len, UErrorCode* ec) {
34 if (ec!=NULL && U_SUCCESS(*ec)) {
43 *ec = U_MEMORY_ALLOCATION_ERROR;
51 const int32_t* rawOffset, UErrorCode* ec) {
53 zoneType, region, rawOffset, *ec), ec);
57 ucal_openTimeZones(UErrorCode* ec) {
58 return uenum_openFromStringEnumeration(TimeZone::createEnumeration(), ec);
62 ucal_openCountryTimeZones(const char* country, UErrorCode* ec) {
63 return uenum_openFromStringEnumeration(TimeZone::createEnumeration(country), ec);
67 ucal_getDefaultTimeZone(UChar* result, int32_t resultCapacity, UErrorCode* ec) {
69 if (ec!=NULL && U_SUCCESS(*ec)) {
72 *ec = U_MEMORY_ALLOCATION_ERROR;
77 len = id.extract(result, resultCapacity, *ec);
84 ucal_setDefaultTimeZone(const UChar* zoneID, UErrorCode* ec) {
85 TimeZone* zone = _createTimeZone(zoneID, -1, ec);
92 ucal_getDSTSavings(const UChar* zoneID, UErrorCode* ec) {
94 TimeZone* zone = _createTimeZone(zoneID, -1, ec);
95 if (U_SUCCESS(*ec)) {
107 zone->getOffset(d, FALSE, raw, dst, *ec);
108 if (U_FAILURE(*ec)) {