|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.components.textFormats.StiFormatService
com.stimulsoft.report.components.textFormats.StiDateFormatService
public class StiDateFormatService
Describes a service for the text formatting as a date value.
Field Summary |
---|
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
---|
REFERENCE_EMPTY, REFERENCE_REPORT |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
format(java.lang.String stringFormat,
java.lang.Object arg,
java.util.Locale locale)
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)
|
Methods inherited from class com.stimulsoft.report.components.textFormats.StiFormatService |
---|
Format, getIsFormatStringFromVariable, getServiceCategory, getServiceType, getState, isDefault, LoadFromJsonObjectInternal, setState, toString |
Methods inherited from class com.stimulsoft.base.services.StiService |
---|
clone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabled |
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject |
---|
cleanReference, getReference, setReference |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StiDateFormatService()
public StiDateFormatService(java.lang.String stringFormat, java.lang.String nullDisplay)
stringFormat
- String of formatting.nullDisplay
- String value to show null date.Method Detail |
---|
public java.lang.String getServiceName()
getServiceName
in class StiService
public int getPosition()
getPosition
in class StiFormatService
public java.lang.Object getSample()
getSample
in class StiFormatService
public java.lang.String getStringFormat()
getStringFormat
in class StiFormatService
public void setStringFormat(java.lang.String value)
setStringFormat
in class StiFormatService
public final java.lang.String getNullDisplay()
public final void setNullDisplay(java.lang.String value)
public java.lang.String getNativeFormatString()
getNativeFormatString
in class StiFormatService
public int hashCode()
hashCode
in class StiFormatService
public boolean equals(java.lang.Object obj)
equals
in class StiFormatService
public java.lang.String format(java.lang.String stringFormat, java.lang.Object arg, java.util.Locale locale)
format
in class StiFormatService
format
- String for formatting.arg
- Object for formatting.
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject
in interface IStiJsonReportObject
SaveToJsonObject
in class StiFormatService
JSONException
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject
in interface IStiJsonReportObject
LoadFromJsonObject
in class StiFormatService
JSONException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |