public class DateTimeFormatOptions extends Options
Supported format specifiers are: %a: Short weekday, like 'Mon'. %A: Long weekday, like 'Monday'. %d: Two digit day of the month, 01 to 31. %e: Day of the month, 1 through 31. %b: Short month, like 'Jan'. %B: Long month, like 'January'. %m: Two digit month number, 01 through 12. %y: Two digits year, like 09 for 2009. %Y: Four digits year, like 2009. %H: Two digits hours in 24h format, 00 through 23. %I: Two digits hours in 12h format, 00 through 11. %l Hours in 12h format, 1 through 11. (Lower case L) %M: Two digits minutes, 00 through 59. %p: Upper case AM or PM. %P: Lower case AM or PM. %S: Two digits seconds, 00 through 59
| Modifier and Type | Field and Description |
|---|---|
String |
day
Axis defaults: "%e.
|
String |
hour
Axis defaults: "%H:%M"
Tooltip defaults: "%A, %b %e, %H:%M" |
String |
millisecond
Axis defaults: "%H:%M:%S.%L"
Tooltip defaults: "%A, %b %e, %H:%M:%S.%L" |
String |
minute
Axis defaults: "%H:%M"
Tooltip defaults: "%A, %b %e, %H:%M" |
String |
month
Axis defaults: "%b \'%y"
Tooltip defaults: "%B %Y" |
String |
second
Axis defaults: "%H:%M:%S"
Tooltip defaults: "%A, %b %e, %H:%M:%S" |
String |
week
Axis defaults: "%e.
|
String |
year
Axis defaults: "%Y"
Tooltip defaults: "%Y" |
| Constructor and Description |
|---|
DateTimeFormatOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
setAllFormats(String value)
Sets all formats to the specified value.
|
void |
setDateFormats(String value)
Sets all date formats to specified value.
|
void |
setTimeFormats(String value)
Sets all time formats to specified value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransformForClient@Option public String millisecond
@Option public String second
public void setAllFormats(String value)
value - Format value.public void setDateFormats(String value)
value - Date format value.public void setTimeFormats(String value)
value - Time format value.Copyright © 2018 Fujion Framework. All rights reserved.