FORMATTER_LONG_GMT

FORMATTER_CUSTOM

This DateFormat is used to parse timestamps from XML events that are generated by
the send-event.pl script. It always formats timestamps in English so we hard-code the locale
as Locale.ENGLISH in this DateFormat.

Constructor Detail

EventConstants

Method Detail

parseToDate

An utility method to parse a string into a 'Date' instance. Note that the
string should be in the locale-specific DateFormat.LONG style for both
the date and time, althought DateFormat.FULL will be accepted as well.