.. | .. |
---|
13 | 13 | public static final TimeUnit HOUR = new TimeUnit("Hours", Calendar.HOUR_OF_DAY, 60 * 60 * 1000L, "HH:mm", "MMM d yyyy HH:mm"); |
---|
14 | 14 | public static final TimeUnit MINUTE = new TimeUnit("Minutes", Calendar.MINUTE, 60 * 1000L, ":mm", "MMM d yyyy HH:mm"); |
---|
15 | 15 | public static final TimeUnit SECOND = new TimeUnit("Seconds", Calendar.SECOND, 1000L, ":ss", "MMM d yyyy HH:mm:ss"); |
---|
16 | | - public static final TimeUnit REALTIME = new TimeUnit("Realtime", Calendar.MILLISECOND, 1L, ":SS", "HH:mm:ss.SS"); |
---|
| 16 | + public static final TimeUnit REALTIME = new TimeUnit("Realtime", Calendar.MILLISECOND, 1L, ".SS", "HH:mm:ss.SS"); |
---|
17 | 17 | |
---|
18 | 18 | public static final TimeUnit DECADE = multipleYears(10); |
---|
19 | 19 | public static final TimeUnit CENTURY = multipleYears(100); |
---|
.. | .. |
---|
238 | 238 | |
---|
239 | 239 | public String format(Date date) |
---|
240 | 240 | { |
---|
241 | | - return format.format(date); |
---|
| 241 | + return format.format(date); |
---|
242 | 242 | } |
---|
243 | 243 | |
---|
244 | 244 | public String formatFull(Date date) |
---|