net.simplace.ui.formengine.date.FWFormattedDatePrecision
This is an enumeration of precisions that are supported by FWFormattedDate.
Each precision has a format String assigned to it, that can be used to format a Date value with this precision.
public final class FWFormattedDatePrecision {
// Constants
public static final FWFormattedDatePrecision DATABASE_DAY_MONTH_YEAR;
public static final FWFormattedDatePrecision YEAR_MONTH_DAY;
public static final FWFormattedDatePrecision DAY_MONTH_YEAR;
public static final FWFormattedDatePrecision MONTH_YEAR;
public static final FWFormattedDatePrecision YEAR;
public static final FWFormattedDatePrecision DAYS_SINCE_1970;
// Public Instance Methods public final String getPattern();
public final boolean contains(ChronoUnit aField);
}
Passed to: FWFormattedDate.FWFormattedDate(), FWFormattedDate.FWFormattedDate()
Returned by: FWFormattedDate.getPrecision()
Type of: DATABASE_DAY_MONTH_YEAR, DAY_MONTH_YEAR, DAYS_SINCE_1970, MONTH_YEAR, YEAR, YEAR_MONTH_DAY