Commit Graph

87 Commits

Author SHA1 Message Date
Fredrik Roubert
71035aa827 ICU-11467 Promote time separator interfaces to public API.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/189460043

X-SVN-Rev: 37043
2015-02-19 12:02:43 +00:00
Fredrik Roubert
17b8600e8e ICU-11018 Support CLDR time separator (ICU4C)
This change will treat the ':' character in patterns as a symbol
(instead of as a literal) and if the Locale defines timeSeparator then
use that character instead when formatting and accept both when parsing.

It will also define the '.' as an alternate time separator, that will be
accepted when parsing in lenient mode.

This is one character more strict than before, when in lenient mode also
the '-' was accepted as time separator instead of ':'.

R=rocketman@google.com

Review URL: https://codereview.appspot.com/180610043

X-SVN-Rev: 36897
2014-12-19 07:19:41 +00:00
Yoshito Umaoka
02939804a5 ICU-11240 ICU4C 54 API status promotion.
X-SVN-Rev: 36454
2014-09-11 06:16:13 +00:00
Andy Heninger
dfe8c061e0 ICU-10764 API Promotions for ICU4C 53.
X-SVN-Rev: 35459
2014-03-13 20:33:16 +00:00
Markus Scherer
90b6b64024 ICU-10561 ZoneMeta methods must check for bogus input strings
X-SVN-Rev: 34873
2014-01-10 23:14:14 +00:00
Steven R. Loomis
37562f403e ICU-10394 api promo 50->52 as per PMC
X-SVN-Rev: 34396
2013-09-19 00:44:08 +00:00
Yoshito Umaoka
7e0d7fa479 ICU-10148 TZ database/Windows zone ID mapping APIs.
X-SVN-Rev: 33726
2013-05-22 20:33:30 +00:00
Peter Edberg
3c32983978 ICU-10062 Fix header documentation for getDayOfWeekType, getWeekendTransition
X-SVN-Rev: 33467
2013-03-27 22:43:03 +00:00
Peter Edberg
fbace77746 ICU-9721 Update "#ifndef U_HIDE_XXX_API" guards for API status
X-SVN-Rev: 33367
2013-03-05 01:38:48 +00:00
Michael Ow
37eeb709db ICU-9955 merge ICU4C API status promotion to trunk
X-SVN-Rev: 33306
2013-02-22 20:15:50 +00:00
Yoshito Umaoka
08223859e3 ICU-9735 Added a C API ucal_getTimeZoneID.
X-SVN-Rev: 33005
2013-01-02 16:58:24 +00:00
Peter Edberg
9622e41050 ICU-9581 Sync U_INTERNAL/U_DRAFT/U_STABLE tags to @internal/@draft/@stable
X-SVN-Rev: 32648
2012-10-17 05:48:18 +00:00
Peter Edberg
b72359eca5 ICU-9623 ICU4C 50 API promotions, fix U_DRAFT -> U_STABLE as needed in .h, fix U_DRAFT -> U_CAPI in .c/cpp
X-SVN-Rev: 32547
2012-10-08 05:16:32 +00:00
Peter Edberg
3e36b67cf7 ICU-9606 Add ucal_getTimeZoneTransitionDate, UTimeZoneTransitionType and tests
X-SVN-Rev: 32545
2012-10-08 00:32:59 +00:00
Steven R. Loomis
1dff0b56ee ICU-9501 doxygen cleanup.
X-SVN-Rev: 32372
2012-09-11 20:51:51 +00:00
Peter Edberg
43d3e4e099 ICU-9226 Better documentation for add and roll functions/methods
X-SVN-Rev: 31967
2012-06-19 07:09:54 +00:00
Yoshito Umaoka
83c811726a ICU-8916 Enclosed draft APIs with #ifndef U_HIDE_DRAFT_API
X-SVN-Rev: 31520
2012-02-27 17:35:21 +00:00
Peter Edberg
4b3835d9e9 ICU-9091 Promote to stable most ICU4C API that are draft 4.8 or earlier
X-SVN-Rev: 31446
2012-02-20 04:28:17 +00:00
Yoshito Umaoka
9d6a55f33d ICU-8916 Calendar APIs supporting options for handling ambiguous wall time (Merged from the work branch to the ICU4C trunk).
X-SVN-Rev: 31421
2012-02-17 23:53:05 +00:00
Michael Ow
c5eeb6b6df ICU-8887 Update timezone class doc in ICU4C
X-SVN-Rev: 30956
2011-11-11 23:24:20 +00:00
Yoshito Umaoka
50758756b5 ICU-8777 Fixed API doc for createTimeZone. Updated the description to explain the case for bad time zone ID - using Etc/Unknown instead of Etc/GMT as fallback zone ID.
X-SVN-Rev: 30620
2011-09-06 18:44:49 +00:00
Markus Scherer
4e30dc4c14 ICU-8571 remove udraft.h etc. & genheaders.pl, use #ifndef U_HIDE_DRAFT_API etc. instead
X-SVN-Rev: 30447
2011-08-01 02:20:46 +00:00
Peter Edberg
b4653c9f9f ICU-8397 Add ucal_getFieldDifference, C wrapper for Calendar::fieldDifference(...)
X-SVN-Rev: 29966
2011-05-02 23:42:11 +00:00
Yoshito Umaoka
34bc79c98b ICU-8278 New APIs TimeZone::createTimeZoneIDEnumeration and ucal_openTimeZoneIDEnumeration for supporting canonical/canonical location zone iteration. The fix for ticket#8349 Etc/Unknown problem was also done at the same time.
X-SVN-Rev: 29498
2011-03-01 18:29:13 +00:00
Yoshito Umaoka
d7c7514920 ICU-8346 ICU4C TimeZone::createTimeZone to return Etc/Unknown when the given ID is unknown/unparsable. Also added UCAL_UNKNOWN_ZONE_ID.
X-SVN-Rev: 29462
2011-02-19 06:29:52 +00:00
Peter Edberg
b9cfe4aa5b ICU-8155 Promote LocalPointer[Base]/LocalArray/U_DEFINE_LOCAL_OPEN_POINTER from @draft 4.4 to @stable
X-SVN-Rev: 29050
2010-11-15 19:40:24 +00:00
Peter Edberg
3384286860 ICU-8155 Promote appropriate @draft 4.2 and 4.4 API to @stable
X-SVN-Rev: 29035
2010-11-12 06:03:28 +00:00
Steven R. Loomis
f517a0db14 ICU-7304 fix API promotions from bad checkins r27396 and r27397
X-SVN-Rev: 27436
2010-01-28 21:09:53 +00:00
Steven R. Loomis
b361793726 ICU-7304 draft 4.2 to stable 4.4 ( also cleaned up some ICU-7290 issues )
X-SVN-Rev: 27396
2010-01-23 06:36:03 +00:00
Peter Edberg
8e57ee7bac ICU-2223 Port weekend APIs from ICU4J to C,C++ (dummy implementation for now)
X-SVN-Rev: 27292
2010-01-15 23:38:12 +00:00
Peter Edberg
8a58804ef1 ICU-7285 Use U_SHOW_CPLUSPLUS_API (normally 1 iff XP_CPLUSPLUS is defined) to control C++ API exposure
X-SVN-Rev: 27092
2009-12-17 07:13:28 +00:00
Markus Scherer
1dbea6f001 ICU-7245 implement C++ public smart pointers; LocalPointer, LocalArray, LocalUConverterPointer etc.
X-SVN-Rev: 26904
2009-11-14 00:36:06 +00:00
Yoshito Umaoka
527a5e0e62 ICU-6491 Added a note mentioning that ucal_getCanonicalTimeZoneID() might be used for validating time zone ID before calling ucal_open(). Also made cosmetic updates in TimeZone API docs.
X-SVN-Rev: 25847
2009-04-20 21:07:01 +00:00
Steven R. Loomis
9eb9dd4c83 ICU-6799 fix many warnings, improve tests
X-SVN-Rev: 25772
2009-04-15 01:57:02 +00:00
Steven R. Loomis
1fcbaff0ba ICU-6804 @draft to @stable
X-SVN-Rev: 25626
2009-03-19 04:03:31 +00:00
Steven R. Loomis
8e85f80a2a ICU-6797 raft of doxygen fixes for milestone:4.1.4
X-SVN-Rev: 25600
2009-03-17 01:47:25 +00:00
Yoshito Umaoka
0d0f1dce49 ICU-3378 Checking in API headers for getKeywordValuesForLocale with empty implementation for 4.2M3.
X-SVN-Rev: 25407
2009-02-14 02:32:41 +00:00
Peter Edberg
c9079b0322 ICU-6614 Add UErrorCode* parameter for ucal_getType; improve UCalendarType comments.
X-SVN-Rev: 25037
2008-12-02 22:56:31 +00:00
Peter Edberg
4510d290cd ICU-6615 define UCAL_DEFAULT, make UCAL_GREGORIAN work correctly in ucal_open
X-SVN-Rev: 24935
2008-11-07 04:50:24 +00:00
Peter Edberg
d53d0406af ICU-6614 Add ucal_getType()
X-SVN-Rev: 24931
2008-11-06 06:49:30 +00:00
Steven R. Loomis
fa50d4a3b2 ICU-6435 fix bad 4.0 tags. Re-do r23962 as stable 3.8 instead of stable 4.0.
X-SVN-Rev: 24395
2008-07-21 18:57:26 +00:00
Peter Edberg
342953342c ICU-5568 Add ucal_clone()
X-SVN-Rev: 24014
2008-05-28 04:53:32 +00:00
Steven R. Loomis
c2ae3e30a4 ICU-6297 move @draft to @stable
X-SVN-Rev: 23962
2008-05-21 23:27:14 +00:00
Yoshito Umaoka
ba7bd65b8f ICU-5561 Added another version of getCanonicalID which tells you if the given ID is a system timezon in C++. Updated ucal_getCanonicalTimeZone to support the feature as well.
X-SVN-Rev: 23354
2008-02-05 19:14:43 +00:00
Yoshito Umaoka
873d3f5b19 ICU-5561 Adding new C++ API TimeZone::getCanonicalID and its C corresponding. Added test cases for the new API. Cleaned up ZoneMeta class.
X-SVN-Rev: 23299
2008-01-23 23:47:13 +00:00
Andrew J Macheret
f8339df718 ICU-4081 Ported Chinese calendar from icu4j. Mostly working.
X-SVN-Rev: 22853
2007-10-25 20:26:34 +00:00
George Rhoten
9ce90e2c18 ICU-5856 Promote @draft API to @stable for ICU 3.8 release, and make sure that the existing API is labeled correctly.
X-SVN-Rev: 22422
2007-08-19 08:59:28 +00:00
George Rhoten
9623bf94e7 ICU-5357 Fix doxygen warnings.
X-SVN-Rev: 22265
2007-08-03 23:52:19 +00:00
Eric Mader
bb4a371fdb ICU-5805 Update copyright notices for ICU 3.8
X-SVN-Rev: 22167
2007-07-27 03:12:12 +00:00
Yoshito Umaoka
0651c49b65 ICU-3778 Added getTZDataVersion for C and C++
X-SVN-Rev: 22063
2007-07-19 22:29:51 +00:00