[prev in list] [next in list] [prev in thread] [next in thread] 

List:       icu4j-discussion
Subject:    [ICU4J-discussion] Japanese ERA in com.ibm.util.Calendar
From:       Ira Waxberg <ira () waxberg ! com>
Date:       2001-12-03 4:58:27
[Download RAW message or body]

Changing the ERA field in the icu4j Calendar seems to 
have no effect on the field value. Am I doing 
something wrong here?

com.ibm.util.Calendar cal = 
  com.ibm.util.Calendar.getInstance
(java.util.Locale.JAPAN);
for (int i = 1; i < 10; i++)
{
  cal.add(com.ibm.util.Calendar.ERA, -1);
  System.out.println(cal.get
(com.ibm.util.Calendar.ERA));
}
  
Your help is appreciated, 

Ira Waxberg
---------------
ira@waxberg.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic