Commit Graph

984 Commits

Author SHA1 Message Date
Scott Russell
8a3afd3cb5 ICU-10619 Improve usability of DateFormat's leniency control & promote BooleanAttribute control to draft for v53
X-SVN-Rev: 34887
2014-01-14 14:13:48 +00:00
Yoshito Umaoka
c25116c2c8 ICU-10615 Updated the fix by adding an intenal API Calendar.haveDefaultCentury() like ICU4C, to exclude Chiense/Japanese/Dangi calendar to skip the default century parsing.
X-SVN-Rev: 34868
2014-01-10 21:45:57 +00:00
Travis Keep
b2f94a75a8 ICU-10268 MeasureFormat to format currencies correctly.
X-SVN-Rev: 34860
2014-01-10 18:53:53 +00:00
Travis Keep
1ebcd33989 ICU-10268 Serialize FormatWidth enums by their ordinal values.
X-SVN-Rev: 34858
2014-01-10 16:55:55 +00:00
Yoshito Umaoka
a50418ca17 ICU-10583 Fixed a minor problem in illegal lead bye handling in the UTF-8 charset recognizer.
X-SVN-Rev: 34857
2014-01-10 16:12:09 +00:00
Travis Keep
c06fef03ed ICU-10268 Mark Davis' review.
X-SVN-Rev: 34841
2014-01-08 21:07:37 +00:00
Yoshito Umaoka
e73ea7ab14 ICU-10390 Implemented Comparable interface in ULocale class.
X-SVN-Rev: 34840
2014-01-08 21:07:09 +00:00
Scott Russell
d72df4a157 ICU-10576 fix suboptimal if statement code in setBooleanAttribute
X-SVN-Rev: 34831
2014-01-06 21:23:13 +00:00
Yoshito Umaoka
b40d690f2a ICU-10615 A quick fix for 2-digit year parsing problem with Japanese calendar. Need more investigation.
X-SVN-Rev: 34830
2014-01-06 15:31:22 +00:00
Travis Keep
564948ef67 ICU-10268 Remove unused import.
X-SVN-Rev: 34803
2013-12-18 23:26:46 +00:00
Travis Keep
6f82c4b2d3 ICU-10606 Introduce DontCareFieldPosition.
X-SVN-Rev: 34799
2013-12-18 23:05:12 +00:00
Travis Keep
652d2952a2 ICU-10603 Add NUMERIC to MeasureFormat.FormatWidth.
X-SVN-Rev: 34797
2013-12-18 22:32:17 +00:00
Travis Keep
ef9fbd093c ICU-10268 Implement final comments from ICU meeting.
X-SVN-Rev: 34795
2013-12-18 21:55:57 +00:00
Travis Keep
905fd2dbc6 ICU-10268 Create private ImmutableNumberFormat wrapper so that developers don't have to remember to synchronize every use of NumberFormat.
X-SVN-Rev: 34794
2013-12-18 21:17:08 +00:00
Scott Russell
59dde192b7 ICU-10334 C vs. J differences when in lenient mode
X-SVN-Rev: 34791
2013-12-18 19:47:13 +00:00
Travis Keep
876d3ee9a9 ICU-10268 fix spelling and punctuation.
X-SVN-Rev: 34787
2013-12-17 23:20:58 +00:00
Travis Keep
e79533c9ad ICU-10268 Fix equals() / hashCode() according to effective JAVA in MeasureFormat. Take out synchronized blocks in CurrencyFormat as this class will remain thread unsafe.
X-SVN-Rev: 34786
2013-12-17 23:16:55 +00:00
Travis Keep
ddeb54ee63 ICU-10268 Make formatMeasures methods be together.
X-SVN-Rev: 34782
2013-12-17 01:23:49 +00:00
Travis Keep
3ef485dccf ICU-10268 Be sure that MeasureFormat and sub classes correctly implement clone() and getLocale(ULocale.VALID_LOCALE)
X-SVN-Rev: 34780
2013-12-17 01:09:02 +00:00
Travis Keep
a53682a55e ICU-10268 Fix serialization so that forward compatibility won't break when we add values to the FormatWidth enum.
X-SVN-Rev: 34775
2013-12-16 18:22:04 +00:00
Travis Keep
75d2b6eb2f ICU-10268 Incorporte Suggestions from Markus
X-SVN-Rev: 34766
2013-12-13 21:18:00 +00:00
Travis Keep
afa4315082 ICU-10268 Take Measurement API out of technology preview and have it match the current API proposal.
X-SVN-Rev: 34765
2013-12-13 18:26:18 +00:00
Travis Keep
3fa5329e97 ICU-8464 Update Java RelativeDateTimeFormatter with latest API proposal.
X-SVN-Rev: 34709
2013-12-04 21:19:34 +00:00
Yoshito Umaoka
132f872930 ICU-10566 Fixed HTML syntax problems in the API doc.
X-SVN-Rev: 34706
2013-12-03 20:02:45 +00:00
Andy Heninger
7c5ff0aad6 ICU-10532 Charset Detect of plain ASCII, boost UTF-8 likelyhood.
X-SVN-Rev: 34694
2013-11-26 01:26:58 +00:00
Travis Keep
2601495ccd ICU-8464 Fix so that calendar used in RelativeDateTimeFormatter is the default calendar for locale which may not be the gregorian calendar.
X-SVN-Rev: 34682
2013-11-21 23:30:27 +00:00
Travis Keep
b90cbad09c ICU-8464 Add Relative Date Formatting for JAVA.
X-SVN-Rev: 34663
2013-11-14 19:50:19 +00:00
Travis Keep
7db028c450 ICU-10542 Add more tests. Use Math.log10() instead of multiplying by 0.1 in a for loop.
X-SVN-Rev: 34656
2013-11-12 01:38:45 +00:00
Travis Keep
42dee8ca3b ICU-10542 Fix rounding for scientific notation.
X-SVN-Rev: 34654
2013-11-11 23:52:59 +00:00
Andy Heninger
cc2d6e41f8 ICU-10532 Improve UTF-16 charset detection.
X-SVN-Rev: 34646
2013-11-07 19:55:48 +00:00
Yoshito Umaoka
6eede10a42 ICU-10528 Deleted unused com.ibm.icu.text.ListFormatterData
X-SVN-Rev: 34632
2013-10-31 21:05:26 +00:00
Scott Russell
fcdb86f818 ICU-10239 make eee[ee] & EEEEE processing in J behave the same as C
X-SVN-Rev: 34627
2013-10-30 21:18:19 +00:00
Yoshito Umaoka
e980695446 ICU-10518 Fixed an infinite loop problem in observesDaylightTime() revealed by tzdata2013h integration.
X-SVN-Rev: 34618
2013-10-29 07:20:08 +00:00
Yoshito Umaoka
77b6bb7721 ICU-10493 Added a stub implementation of hashCode() with assert false to make it consistent with equals() in SpoofChecker.
X-SVN-Rev: 34579
2013-10-17 19:34:21 +00:00
Travis Keep
f1df548fc4 ICU-10485 Fixed ListFormatter so that it finds the unit and unit-short version of lists.
X-SVN-Rev: 34564
2013-10-14 20:32:35 +00:00
Yoshito Umaoka
a50e894eb8 ICU-10219 Fixed a compiler warning in the previous change.
X-SVN-Rev: 34563
2013-10-14 19:17:54 +00:00
Yoshito Umaoka
83b441346b ICU-10485 Fixed a build error on Java 5 in the previous change.
X-SVN-Rev: 34562
2013-10-14 19:04:26 +00:00
Travis Keep
80b75a5817 ICU-10219 Fix rounding in TimeUnitFormat for JAVA.
X-SVN-Rev: 34554
2013-10-10 22:35:06 +00:00
Travis Keep
a3e12a9fe7 ICU-10419 Fix rounding in DecimalFormat in JAVA
X-SVN-Rev: 34553
2013-10-10 22:34:05 +00:00
Travis Keep
c1fbbc062e ICU-10485 Fix MeasureUnit failing tests.
X-SVN-Rev: 34546
2013-10-10 20:58:53 +00:00
Yoshito Umaoka
0d26708552 ICU-10484 Fixed a compiler warning - unused variable.
X-SVN-Rev: 34545
2013-10-10 19:49:09 +00:00
Yoshito Umaoka
80ed875e6a ICU-10484 Update the ICU4J version numbers to 53/m1
X-SVN-Rev: 34544
2013-10-10 19:01:15 +00:00
Yoshito Umaoka
ff0dbde358 ICU-10313 Added Hebrew calendar month value checking for leap year.
X-SVN-Rev: 34540
2013-10-10 17:36:54 +00:00
Peter Edberg
22f108c028 ICU-10161 (J) Speed up trimMarksFromAffix per Yoshito, skip it entirely for affix length 1
X-SVN-Rev: 34463
2013-09-24 04:06:18 +00:00
Yoshito Umaoka
3a41fdc007 ICU-10399 Some updates for the eclipse plug-in version. Resolve some compiler warnings, updated the build version.
X-SVN-Rev: 34456
2013-09-23 18:14:29 +00:00
Yoshito Umaoka
c1839fae2c ICU-10399 Added @provisional tag to @draft APIs.
X-SVN-Rev: 34454
2013-09-23 15:10:45 +00:00
Yoshito Umaoka
cb99f40912 ICU-8449 ICU4J Islamic Umm Al-Qura calendar updates based on Yoshito's review.
X-SVN-Rev: 34445
2013-09-23 05:15:07 +00:00
Scott Russell
c4a3dda5fc ICU-10261 review comment updates
X-SVN-Rev: 34402
2013-09-19 18:02:36 +00:00
Yoshito Umaoka
886e16a276 ICU-10399 Fixed a coding issue. During the initialization of MeasureUnit, it should not use a subclass Currency. Currency.CURRENCY_FACTORY is actually in MeasureUnit, so it should not be accessed through Currency.
X-SVN-Rev: 34401
2013-09-19 17:44:06 +00:00
Yoshito Umaoka
e2f60a29ee ICU-10399 Added missing API status tags
X-SVN-Rev: 34389
2013-09-18 22:51:19 +00:00