public class DateTime
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DateTime.DaylightSavingsTime |
Constructor and Description |
---|
DateTime() |
Modifier and Type | Method and Description |
---|---|
static DateTime.DaylightSavingsTime |
getDSTSettings(java.util.Calendar calendar) |
static java.util.SimpleTimeZone |
getSimpleTimeZone() |
static int |
getTimezone()
Get current user timezone
|
static int |
getTimezoneOffset()
Return timezone offset value, in seconds
|
static java.util.Calendar |
userTime(long absVal)
Convert absolute time to user time - used in format and print methods
|
public static int getTimezone()
public static int getTimezoneOffset()
public static java.util.SimpleTimeZone getSimpleTimeZone()
public static DateTime.DaylightSavingsTime getDSTSettings(java.util.Calendar calendar)
public static java.util.Calendar userTime(long absVal)
absVal
- absolute time in seconds