The GregorianCalendar object provides one easy way to access data from
ChameleonDateTime
object. The following code shows an example of the syntax:
GregorianCalendar calendar = new GregorianCalendar(GMT, Locale.ENGLISH);
calendar.setTime(chameleonDateTime.value());
int hour = calendar.get(GregorianCalendar.HOUR);
int minute = calendar.get(GregorianCalendar.MINUTE);
int second = calendar.get(GregorianCalendar.SECOND);