public class DateTimeLabelFormats extends AbstractConfigurationObject
DateFormat
. Defaults to:
{
second: '%H:%M:%S',
minute: '%H:%M',
hour: '%H:%M',
day: '%e. %b',
week: '%e. %b',
month: '%b \'%y',
year: '%Y'
}
Constructor and Description |
---|
DateTimeLabelFormats() |
DateTimeLabelFormats(String month,
String year)
Constructs a DateTimeLabelFormats with the given format strings for month
and year
|
Modifier and Type | Method and Description |
---|---|
String |
getDay() |
String |
getHour() |
String |
getMinute() |
String |
getMonth() |
String |
getSecond() |
String |
getWeek() |
String |
getYear() |
void |
setDay(String day)
Sets the format String for day resolution.
|
void |
setHour(String hour)
Sets the format String for hour resolution
|
void |
setMinute(String minute)
Sets the format String for minute resolution.
|
void |
setMonth(String month)
Sets the format String for month resolution.
|
void |
setSecond(String second)
Sets the format String for second resolution.
|
void |
setWeek(String week)
Sets the format String for week resolution.
|
void |
setYear(String year)
Sets the format String for year resolution.
|
public String getSecond()
setSecond(String)
public void setSecond(String second)
second
- public String getMinute()
setMinute(String)
public void setMinute(String minute)
minute
- public String getHour()
setHour(String)
public void setHour(String hour)
hour
- public String getDay()
setDay(String)
public void setDay(String day)
day
- public String getWeek()
setWeek(String)
public void setWeek(String week)
week
- public String getMonth()
setMonth(String)
public void setMonth(String month)
month
- public String getYear()
setYear(String)
public void setYear(String year)
year
- Copyright © 2021. All rights reserved.