Hello all,
I have a problem parsing a
String which represents a time (time only).
I'm using a DateFormat class with the default Locale and TimeZone,
When I use DateFormat.getTimeInstance(DateFormat.MEDIUM), the String will be parsed correctly.
But when I use DateFormat.getTimeInstance(DateFormat.FULL) the resulting Date object will represent a time that is one-hour-before the time represented by the String.
example:
Will print:
Thu Jan 01
15:00:00 EET 1970
Thu Jan 01
14:00:00 EET 1970
Can any body help please?