0

I work on a legacy application that makes use of JCalendar. Is it possible to operate JCalendar in a different time zone? The internals of this package seem to assume the local time zone. Our application assumes GMT so we would like dates and times to be handled and rendered in GMT by the com.toedter.calendar.JTextFieldDateEditor and com.toedter.calendar.JSpinnerDateEditor classes.

mKorbel
  • 109,525
  • 20
  • 134
  • 319
Julien Chastang
  • 17,592
  • 12
  • 63
  • 89

1 Answers1

2

For expedience, you might set the default TimeZone early in your program.

TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
trashgod
  • 203,806
  • 29
  • 246
  • 1,045