Class SaveDate
java.lang.Object
com.independentsoft.office.word.fields.Field
com.independentsoft.office.word.fields.SaveDate
- All Implemented Interfaces:
IContentElement,IRunContent
The Class SaveDate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the format.booleanChecks if is hijri calendar.booleanChecks if is saka era calendar.voidSets the format.voidsetHijriCalendar(boolean useHijriCalendar)Sets the hijri calendar.voidsetSakaEraCalendar(boolean useSakaEraCalendar)Sets the saka era calendar.toString()Methods inherited from class com.independentsoft.office.word.fields.Field
getContentElements, getFieldCodes, parse
-
Constructor Details
-
SaveDate
public SaveDate()Instantiates a new save date.
-
-
Method Details
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIRunContent- Specified by:
clonein classField
-
toString
-
getFormat
Gets the format.- Returns:
- the format
-
setFormat
Sets the format.- Parameters:
format- the new format
-
isHijriCalendar
public boolean isHijriCalendar()Checks if is hijri calendar.- Returns:
- true, if is hijri calendar
-
setHijriCalendar
public void setHijriCalendar(boolean useHijriCalendar)Sets the hijri calendar.- Parameters:
useHijriCalendar- the new hijri calendar
-
isSakaEraCalendar
public boolean isSakaEraCalendar()Checks if is saka era calendar.- Returns:
- true, if is saka era calendar
-
setSakaEraCalendar
public void setSakaEraCalendar(boolean useSakaEraCalendar)Sets the saka era calendar.- Parameters:
useSakaEraCalendar- the new saka era calendar
-