public class DateTime extends Date
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
DateTime() |
DateTime(Date date) |
DateTime(int year,
int month,
int date) |
DateTime(int year,
int month,
int date,
int hrs,
int min) |
DateTime(int year,
int month,
int date,
int hrs,
int min,
int sec) |
DateTime(long time) |
Modifier and Type | Method and Description |
---|---|
int |
date() |
void |
date(int date) |
int |
hours() |
void |
hours(int hours) |
int |
minutes() |
void |
minutes(int minutes) |
int |
month() |
void |
month(int month) |
int |
seconds() |
void |
seconds(int seconds) |
String |
toString() |
String |
toString(String format) |
int |
year() |
void |
year(int year) |
after, before, clone, compareTo, equals, from, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toInstant, toLocaleString, UTC
private static final long serialVersionUID
public DateTime()
public DateTime(Date date)
public DateTime(long time)
public DateTime(int year, int month, int date)
public DateTime(int year, int month, int date, int hrs, int min)
public DateTime(int year, int month, int date, int hrs, int min, int sec)
public int year()
public int month()
public int date()
public int hours()
public int minutes()
public int seconds()
public void year(int year)
public void month(int month)
public void date(int date)
public void hours(int hours)
public void minutes(int minutes)
public void seconds(int seconds)