Class WeekOfYear
java.lang.Object
com.independentsoft.office.odf.styles.WeekOfYear
Represents a week of a year in a date.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the calendar system used to extract parts of a date.voidsetCalendar(String calendar)Sets the calendar system used to extract parts of a date.toString()Converts the value of the current WeekOfYear object to its equivalent string representation.
-
Constructor Details
-
WeekOfYear
public WeekOfYear()Initializes a new instance of the WeekOfYear class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current WeekOfYear object to its equivalent string representation. -
getCalendar
Gets the calendar system used to extract parts of a date.- Returns:
- the calendar
-
setCalendar
Sets the calendar system used to extract parts of a date.- Parameters:
calendar- the new calendar
-