public class DateUtils extends Object
Modifier and Type | Field and Description |
---|---|
static TimeZone |
MIDDAY
Custom time zone used to interpret date values without a time
component in a way that most likely falls within the same day
regardless of in which time zone it is later interpreted.
|
static TimeZone |
UTC
The UTC time zone.
|
Constructor and Description |
---|
DateUtils() |
public static final TimeZone UTC
TimeZone.getTimeZone(String)
understands "UTC" in all environments, but it'll fall back to GMT
in such cases, which is in practice equivalent to UTC.public static final TimeZone MIDDAY
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.