Package net.filebot.web
Class SimpleDate
java.lang.Object
net.filebot.web.SimpleDate
- All Implemented Interfaces:
Serializable
,Comparable<Object>
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimpleDate
(int year) SimpleDate
(int year, int month, int day) SimpleDate
(LocalDate date) -
Method Summary
Modifier and TypeMethodDescriptionclone()
int
int
compareTo
(ChronoLocalDate other) int
int
compareTo
(SimpleDate other) boolean
static SimpleDate
int
getDay()
long
int
getMonth()
long
int
getYear()
int
hashCode()
minus
(int days) long
minus
(SimpleDate other) static SimpleDate
now()
static SimpleDate
of
(int year, int month, int day) static SimpleDate
plus
(int days) toString()
-
Field Details
-
DATE_FORMAT
-
-
Constructor Details
-
SimpleDate
public SimpleDate() -
SimpleDate
-
SimpleDate
-
SimpleDate
-
-
Method Details
-
getYear
-
getMonth
-
getDay
-
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Object>
-
compareTo
-
compareTo
-
compareTo
-
plus
-
minus
-
minus
-
hashCode
-
clone
-
format
-
format
-
toLocalDate
-
toInstant
-
getEpochDay
-
getTimeStamp
-
toString
-
now
-
from
-
of
-
parse
-