Class FWFormattedDate
java.lang.Object
net.simplace.pipe.formcomponents.date.FWFormattedDate
- All Implemented Interfaces:
Cloneable
FWFormattedDate represents a date value at a fixed precision.
- Author:
- ckunze
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFWFormattedDate(Long aDateMillies, FWFormattedDatePrecision aPrecision) FWFormattedDate(String aValue) FWFormattedDate(String aValue, FWFormattedDatePrecision aPrecision) FWFormattedDate(LocalDateTime aDate, FWFormattedDatePrecision aPrecision) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ChronoUnit aField, int aValue) voidaddChangeListener(ChangeListener aListener) booleanafter(FWFormattedDate aFormattedDate) booleanbefore(FWFormattedDate aFormattedDate) clone()protected voidintget(ChronoUnit aField) getDate()intlongvoidvoidset(ChronoUnit aField, int aValue) toString()
-
Field Details
-
cEpochDate
-
-
Constructor Details
-
FWFormattedDate
-
FWFormattedDate
-
FWFormattedDate
- Throws:
ParseException
-
FWFormattedDate
- Throws:
ParseException
-
-
Method Details
-
toString
-
getPrecision
-
before
-
after
-
get
-
set
-
add
-
getTimeInMillisSince1970
public long getTimeInMillisSince1970() -
getTimeInDaysSince1970
public int getTimeInDaysSince1970() -
getDate
-
clone
-
addChangeListener
-
removePropertyChangeListener
-
fireStateChanged
protected void fireStateChanged() -
getChangeListeners
-