Package com.luna.common.calendarist.pojo
Class SolarDate
java.lang.Object
com.luna.common.calendarist.pojo.CalendaristDate
com.luna.common.calendarist.pojo.SolarDate
- All Implemented Interfaces:
Serializable
阳历日期
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getDay()
java.time.DayOfWeek
int
getHour()
int
int
int
getMonth()
int
long
int
getYear()
void
setDay
(int day) void
setDayOfWeek
(java.time.DayOfWeek dayOfWeek) 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()
-
Constructor Details
-
SolarDate
public SolarDate() -
SolarDate
public SolarDate(int year, int month, int day) -
SolarDate
public SolarDate(int year, int month, int day, int hour, int minute, int second, int millis)
-
-
Method Details
-
getYear
public int getYear()- Overrides:
getYear
in classCalendaristDate
-
setYear
public void setYear(int year) - Overrides:
setYear
in classCalendaristDate
-
getMonth
public int getMonth()- Overrides:
getMonth
in classCalendaristDate
-
setMonth
public void setMonth(int month) - Overrides:
setMonth
in classCalendaristDate
-
getDay
public int getDay()- Overrides:
getDay
in classCalendaristDate
-
setDay
public void setDay(int day) - Overrides:
setDay
in classCalendaristDate
-
getHour
public int getHour()- Overrides:
getHour
in classCalendaristDate
-
setHour
public void setHour(int hour) - Overrides:
setHour
in classCalendaristDate
-
getMinute
public int getMinute()- Overrides:
getMinute
in classCalendaristDate
-
setMinute
public void setMinute(int minute) - Overrides:
setMinute
in classCalendaristDate
-
getSecond
public int getSecond()- Overrides:
getSecond
in classCalendaristDate
-
setSecond
public void setSecond(int second) - Overrides:
setSecond
in classCalendaristDate
-
getMillis
public int getMillis()- Overrides:
getMillis
in classCalendaristDate
-
setMillis
public void setMillis(int millis) - Overrides:
setMillis
in classCalendaristDate
-
getTimestamp
public long getTimestamp()- Overrides:
getTimestamp
in classCalendaristDate
-
setTimestamp
public void setTimestamp(long timestamp) - Overrides:
setTimestamp
in classCalendaristDate
-
getDayOfWeek
public java.time.DayOfWeek getDayOfWeek() -
setDayOfWeek
public void setDayOfWeek(java.time.DayOfWeek dayOfWeek) -
toString
- Overrides:
toString
in classCalendaristDate
-