Lines Matching refs:DEFAULT_ZONE
114 static icu::TimeZone* DEFAULT_ZONE = NULL;
132 delete DEFAULT_ZONE;
133 DEFAULT_ZONE = NULL;
449 * Initialize DEFAULT_ZONE from the system default time zone. The
450 * caller should confirm that DEFAULT_ZONE is NULL before calling.
451 * Upon return, DEFAULT_ZONE will not be NULL, unless operator new()
493 DEFAULT_ZONE != NULL), initialized);
499 TimeZone* default_zone = NULL;
505 default_zone = createSystemTimeZone(hostStrID);
513 if (default_zone != NULL && rawOffset != default_zone->getRawOffset()
518 delete default_zone;
519 default_zone = NULL;
524 if (default_zone == NULL) {
525 default_zone = new SimpleTimeZone(rawOffset, hostStrID);
529 if (default_zone == NULL) {
535 default_zone = temptz->clone();
538 // If DEFAULT_ZONE is still NULL, set it up.
540 if (DEFAULT_ZONE == NULL) {
541 DEFAULT_ZONE = default_zone;
542 default_zone = NULL;
547 delete default_zone;
557 UMTX_CHECK(&LOCK, (DEFAULT_ZONE == NULL), needsInit);
563 return (DEFAULT_ZONE != NULL) ? DEFAULT_ZONE->clone() : NULL;
576 old = DEFAULT_ZONE;
577 DEFAULT_ZONE = zone;