public class Clock
extends java.lang.Object
Constructor and Description |
---|
Clock() |
Modifier and Type | Method and Description |
---|---|
static long |
getTime() |
static void |
reset() |
static void |
setTime(java.util.Date date) |
static void |
setTime(int year,
int month,
int day) |
static void |
setTime(int year,
int month,
int day,
int hours,
int minutes) |
static void |
setTime(int year,
int month,
int day,
int hours,
int minutes,
int seconds) |
static void |
setTime(long time) |
public static long getTime()
public static void setTime(long time)
public static void setTime(java.util.Date date)
public static void setTime(int year, int month, int day)
public static void setTime(int year, int month, int day, int hours, int minutes)
public static void setTime(int year, int month, int day, int hours, int minutes, int seconds)
public static void reset()