public class StiDateFormatService extends StiFormatService
propertiesREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiDateFormatService()
Creates a new format of the type StiDateFormatService.
|
StiDateFormatService(java.lang.String stringFormat,
java.lang.String nullDisplay)
Creates a new format of the type StiDateFormatService.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
format(java.lang.String stringFormat,
java.lang.Object arg)
Formats the specified object in order of regulations and returns a string.
|
java.lang.String |
getNativeFormatString()
Returns native format string.
|
java.lang.String |
getNullDisplay()
Gets or sets string value to show null date.
|
int |
getPosition() |
java.lang.Object |
getSample()
Gets value to show a sample of formatting.
|
java.lang.String |
getServiceName()
Gets a service name.
|
java.lang.String |
getStringFormat()
Gets or sets string of formatting.
|
int |
hashCode() |
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setNullDisplay(java.lang.String value) |
void |
setStringFormat(java.lang.String value) |
Format, getIsFormatStringFromVariable, getServiceCategory, getServiceType, getState, isDefault, LoadFromJsonObjectInternal, setState, toStringclone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledcleanReference, getReference, setReferencepublic StiDateFormatService()
public StiDateFormatService(java.lang.String stringFormat,
java.lang.String nullDisplay)
stringFormat - String of formatting.nullDisplay - String value to show null date.public java.lang.String getServiceName()
getServiceName in class StiServicepublic int getPosition()
getPosition in class StiFormatServicepublic java.lang.Object getSample()
getSample in class StiFormatServicepublic java.lang.String getStringFormat()
getStringFormat in class StiFormatServicepublic void setStringFormat(java.lang.String value)
setStringFormat in class StiFormatServicepublic final java.lang.String getNullDisplay()
public final void setNullDisplay(java.lang.String value)
public java.lang.String getNativeFormatString()
getNativeFormatString in class StiFormatServicepublic int hashCode()
hashCode in class StiFormatServicepublic boolean equals(java.lang.Object obj)
equals in class StiFormatServicepublic java.lang.String format(java.lang.String stringFormat,
java.lang.Object arg)
format in class StiFormatServiceformat - String for formatting.arg - Object for formatting.public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiFormatServiceJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiFormatServiceJSONExceptionCopyright © 2019 Stimulsoft. All Rights Reserved.