ICU-6879 Lazy loading of localized timeZone IDs (commit from branch)
X-SVN-Rev: 28687
This commit is contained in:
parent
369c026ca2
commit
1b81c862ce
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2007-2009, International Business Machines Corporation and *
|
||||
* Copyright (C) 2007-2010, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -297,6 +297,13 @@ private:
|
||||
UResourceBundle *fMetazoneItem;
|
||||
UResourceBundle *fZoneItem;
|
||||
|
||||
UBool fIsFullyLoaded;
|
||||
|
||||
void loadZone(const UnicodeString &utzid, UErrorCode &status);
|
||||
void addSingleZone(UnicodeString &utzid, UErrorCode &status);
|
||||
void loadFull(UErrorCode &status);
|
||||
|
||||
|
||||
/*
|
||||
* Private method to get a zone string except generic partial location types.
|
||||
*/
|
||||
@ -344,6 +351,8 @@ private:
|
||||
*/
|
||||
const ZoneStringInfo* find(const UnicodeString &text, int32_t start, int32_t types,
|
||||
int32_t &matchLength, UErrorCode &status) const;
|
||||
const ZoneStringInfo* subFind(const UnicodeString &text, int32_t start, int32_t types,
|
||||
int32_t &matchLength, UErrorCode &status) const;
|
||||
|
||||
UnicodeString& getRegion(UnicodeString ®ion) const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user