public final class DateAdapterFormats extends NativeObjectContainer
Modifier | Constructor and Description |
---|---|
protected |
DateAdapterFormats()
Creates the object with an empty native object instance.
|
protected |
DateAdapterFormats(NativeObject nativeObject)
Creates the object with the native object to map java script properties.
|
Modifier and Type | Method and Description |
---|---|
String |
getDateTime()
Returns the date time format provided by adapter.
If not set, returns Constants.EMPTY_STRING . |
String |
getDay()
Returns the day format provided by adapter.
If not set, returns Constants.EMPTY_STRING . |
String |
getFormat(TimeUnit unit)
|
String |
getHour()
Returns the hour format provided by adapter.
If not set, returns Constants.EMPTY_STRING . |
String |
getMillisecond()
Returns the millisecond format provided by adapter.
If not set, returns Constants.EMPTY_STRING . |
String |
getMinute()
Returns the minute format provided by adapter.
If not set, returns Constants.EMPTY_STRING . |
String |
getMonth()
Returns the month format provided by adapter.
If not set, returns Constants.EMPTY_STRING . |
String |
getQuarter()
Returns the quarter format provided by adapter.
If not set, returns Constants.EMPTY_STRING . |
String |
getSecond()
Returns the second format provided by adapter.
If not set, returns Constants.EMPTY_STRING . |
String |
getWeek()
Returns the week format provided by adapter.
If not set, returns Constants.EMPTY_STRING . |
String |
getYear()
Returns the year format provided by adapter.
If not set, returns Constants.EMPTY_STRING . |
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
protected DateAdapterFormats()
protected DateAdapterFormats(NativeObject nativeObject)
nativeObject
- native object to map java script propertiespublic String getDateTime()
Constants.EMPTY_STRING
.public String getMillisecond()
Constants.EMPTY_STRING
.public String getSecond()
Constants.EMPTY_STRING
.public String getMinute()
Constants.EMPTY_STRING
.public String getHour()
Constants.EMPTY_STRING
.public String getDay()
Constants.EMPTY_STRING
.public String getWeek()
Constants.EMPTY_STRING
.public String getMonth()
Constants.EMPTY_STRING
.public String getQuarter()
Constants.EMPTY_STRING
.public String getYear()
Constants.EMPTY_STRING
.