public class DateFormatDayFormatter extends java.lang.Object implements DayFormatter
DEFAULT
Constructor and Description |
---|
DateFormatDayFormatter()
Format using a default format
|
DateFormatDayFormatter(java.text.DateFormat format)
Format using a specific DateFormat
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(CalendarDay day)
Format a given day into a string
|
public DateFormatDayFormatter()
public DateFormatDayFormatter(@NonNull java.text.DateFormat format)
format
- the format to use@NonNull public java.lang.String format(@NonNull CalendarDay day)
format
in interface DayFormatter
day
- the day