public class PrettyTime
extends java.lang.Object
Constructor and Description |
---|
PrettyTime() |
PrettyTime(long milisec) |
Modifier and Type | Method and Description |
---|---|
int |
getDay() |
int |
getHour() |
int |
getMiliSecond() |
int |
getMinute() |
int |
getMonth() |
int |
getSecond() |
long |
getTimeInMillis() |
int |
getYear() |
void |
parse(java.lang.String s) |
void |
setCurrentTime() |
void |
setDay(int day) |
void |
setHour(int hour) |
void |
setMilisecond(int msec) |
void |
setMinute(int minute) |
void |
setMonth(int month) |
void |
setSecond(int sec) |
void |
setTime(PrettyTime t) |
void |
setTimeInMillis(long msec) |
void |
setYear(int year) |
java.lang.String |
toString() |
public long getTimeInMillis()
public void setTimeInMillis(long msec)
public void setCurrentTime()
public int getDay()
public void setDay(int day)
public int getMonth()
public void setMonth(int month)
public int getYear()
public void setYear(int year)
public int getHour()
public void setHour(int hour)
public int getMinute()
public void setMinute(int minute)
public int getSecond()
public void setSecond(int sec)
public int getMiliSecond()
public void setMilisecond(int msec)
public void setTime(PrettyTime t)
public java.lang.String toString()
toString
in class java.lang.Object
public void parse(java.lang.String s)