net.simplace.ui.formengine.date.FWFormattedDate

FWFormattedDate represents a date value at a fixed precision.


public class FWFormattedDate implements java.lang.Cloneable {
// Public Constructors
public FWFormattedDate(LocalDateTime aDate, FWFormattedDatePrecision
aPrecision) throws ParseException;
public FWFormattedDate(String aValue, FWFormattedDatePrecision aPrecision)
throws ParseException;
public FWFormattedDate(String aValue) throws ParseException;


// Public Instance Methods
public String toString(); // Overrides java.lang.Object


returns String representation of this object's value, according to its precision
public FWFormattedDatePrecision getPrecision();

public boolean before(FWFormattedDate aFormattedDate);

public boolean after(FWFormattedDate aFormattedDate);

public int get(ChronoUnit aField);

public void set(ChronoUnit aField, int aValue);

public void add(ChronoUnit aField, int aValue);

public long getTimeInMillis();

public LocalDateTime getDate();

public FWFormattedDate clone(); // Overrides java.lang.Object

public void addChangeListener(ChangeListener aListener);

public void removePropertyChangeListener(PropertyChangeListener aListener);

public ChangeListener[] getChangeListeners();


// Protected Instance Methods
protected void fireStateChanged();



}



Passed to: after(), before(), FWDatePopUpButton.FWDatePopUpButton()



Returned by: clone(), FWDatePopUpButton.getValue()