Class FWFormattedDate
java.lang.Object
net.simplace.core.date.FWFormattedDate
- All Implemented Interfaces:
Cloneable
-
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()voidintget(ChronoUnit aField) getDate()intlongvoidremoveChangeListener(ChangeListener aListener) voidset(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
-
removeChangeListener
- Parameters:
aListener- the listener to remove (was removePropertyChangeListener(PropertyChangeListener), which could never remove a listener)
-
fireStateChanged
public void fireStateChanged() -
getChangeListeners
-