mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 09:21:03 +00:00
ICU-12595 Updated SimpleDateRule class to create a calendar per intance, instead of creating a static calendar instance shared across all SimpleDateRule instances. This change fixes the JUnit test execution issue.
X-SVN-Rev: 38851
This commit is contained in:
parent
8bfa8c576b
commit
b5b35e4640
1 changed files with 1 additions and 3 deletions
|
@ -219,9 +219,7 @@ public class SimpleDateRule implements DateRule
|
|||
// calendar = c;
|
||||
// }
|
||||
|
||||
private static GregorianCalendar gCalendar = new GregorianCalendar();
|
||||
|
||||
private Calendar calendar = gCalendar;
|
||||
private Calendar calendar = new GregorianCalendar();
|
||||
|
||||
private int month;
|
||||
private int dayOfMonth;
|
||||
|
|
Loading…
Add table
Reference in a new issue