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
-
Constructor Summary
ConstructorDescriptionFWFormattedDate
(Long aDateMillies, FWFormattedDatePrecision aPrecision) FWFormattedDate
(String aValue) FWFormattedDate
(String aValue, FWFormattedDatePrecision aPrecision) FWFormattedDate
(LocalDateTime aDate, FWFormattedDatePrecision aPrecision) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ChronoUnit aField, int aValue) void
addChangeListener
(ChangeListener aListener) boolean
after
(FWFormattedDate aFormattedDate) boolean
before
(FWFormattedDate aFormattedDate) clone()
protected void
int
get
(ChronoUnit aField) getDate()
int
long
void
void
set
(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
-