T
terloon
Hello,
I know there are a lot of issues with the Calendar class in Java (from
my searches anyway), but I can't seem to find one for my simple
question. When using the get methods of the calendar class, which
timezone is it using? I've changed the default time zone using
TimeZone.setDefault and have set the timezone of the Calendar object
itself, but it seems to keep returning values for a GMT timezone. Where
can I set it so the get methods of the Calendar class return the
correct values for a timezone I specify?
T.Ramos
I know there are a lot of issues with the Calendar class in Java (from
my searches anyway), but I can't seem to find one for my simple
question. When using the get methods of the calendar class, which
timezone is it using? I've changed the default time zone using
TimeZone.setDefault and have set the timezone of the Calendar object
itself, but it seems to keep returning values for a GMT timezone. Where
can I set it so the get methods of the Calendar class return the
correct values for a timezone I specify?
T.Ramos