Class AmPm
java.lang.Object
com.independentsoft.office.odf.styles.AmPm
Represents whether AM/PM is included as part of a date or time.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.booleanisValue()Specifies whether AM/PM is included as part of a date or time.voidsetValue(boolean value)Specifies whether AM/PM is included as part of a date or time.toString()Converts the value of the current AmPm object to its equivalent string representation.
-
Constructor Details
-
AmPm
public AmPm()Initializes a new instance of the AmPm class. -
AmPm
public AmPm(boolean value)Initializes a new instance of the AmPm class.- Parameters:
value- the value
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current AmPm object to its equivalent string representation. -
isValue
public boolean isValue()Specifies whether AM/PM is included as part of a date or time.- Returns:
- true, if is value
-
setValue
public void setValue(boolean value)Specifies whether AM/PM is included as part of a date or time.- Parameters:
value- the new value
-