Package com.luna.common.calendarist.pojo
Class CalendaristDate
java.lang.Object
com.luna.common.calendarist.pojo.CalendaristDate
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCalendaristDate
(int year, int month, int day) CalendaristDate
(int year, int month, int day, int hour, int minute, int second, int millis) -
Method Summary
Modifier and TypeMethodDescriptionint
getDay()
int
getHour()
int
int
int
getMonth()
int
long
int
getYear()
void
setDay
(int day) void
setHour
(int hour) void
setMillis
(int millis) void
setMinute
(int minute) void
setMonth
(int month) void
setSecond
(int second) void
setTimestamp
(long timestamp) void
setYear
(int year) toString()
-
Field Details
-
year
protected int year -
month
protected int month -
day
protected int day -
hour
protected int hour -
minute
protected int minute -
second
protected int second -
millis
protected int millis -
timestamp
protected long timestamp
-
-
Constructor Details
-
CalendaristDate
public CalendaristDate() -
CalendaristDate
public CalendaristDate(int year, int month, int day) -
CalendaristDate
public CalendaristDate(int year, int month, int day, int hour, int minute, int second, int millis)
-
-
Method Details
-
getYear
public int getYear() -
setYear
public void setYear(int year) -
getMonth
public int getMonth() -
setMonth
public void setMonth(int month) -
getDay
public int getDay() -
setDay
public void setDay(int day) -
getHour
public int getHour() -
setHour
public void setHour(int hour) -
getMinute
public int getMinute() -
setMinute
public void setMinute(int minute) -
getSecond
public int getSecond() -
setSecond
public void setSecond(int second) -
getMillis
public int getMillis() -
setMillis
public void setMillis(int millis) -
getTimestamp
public long getTimestamp() -
setTimestamp
public void setTimestamp(long timestamp) -
toString
-