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()intintcompareTo(ChronoLocalDate other) intintcompareTo(SimpleDate other) booleanstatic SimpleDatestatic SimpleDatefrom(ZonedDateTime date) intgetDay()longintgetMonth()longintgetYear()inthashCode()minus(int days) longminus(SimpleDate other) static SimpleDatenow()static SimpleDateof(int year, int month, int day) static SimpleDateplus(int days) toString()
-
Field Details
-
DATE_FORMAT
-
-
Constructor Details
-
SimpleDate
public SimpleDate() -
SimpleDate
-
SimpleDate
-
SimpleDate
-
-
Method Details
-
getYear
-
getMonth
-
getDay
-
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<Object>
-
compareTo
-
compareTo
-
compareTo
-
plus
-
minus
-
minus
-
hashCode
-
clone
-
format
-
format
-
toLocalDate
-
toInstant
-
getEpochDay
-
getTimeStamp
-
toString
-
now
-
from
-
from
-
of
-
parse
-