public class SystemTime extends Object
| Modifier and Type | Field and Description |
|---|---|
static TimeZone |
UTC_TIMEZONE |
| Constructor and Description |
|---|
SystemTime() |
| Modifier and Type | Method and Description |
|---|---|
static long |
currentTimeMillis() |
static Date |
getDate() |
static Calendar |
getUtcCalendar() |
static Calendar |
getUtcCalendar(Date date) |
static Calendar |
getUtcCalendar(long time) |
static void |
setTimeSource(SystemTimeSource systemTimeSource) |
public static final TimeZone UTC_TIMEZONE
public static long currentTimeMillis()
public static Date getDate()
public static void setTimeSource(SystemTimeSource systemTimeSource)
public static Calendar getUtcCalendar()
public static Calendar getUtcCalendar(long time)
Copyright © 2016. All rights reserved.