# Class: XmlWorkCalendar

## tibco.objectapi.dac.basic.XmlWorkCalendar

#### new XmlWorkCalendar()

The base type for Base and Overlay Calendars. Constructs a new XmlWorkCalendar.
N.B. This is an abstract class - do not instantiate!

The following features are supported:

- `Version`

### Extends

- tibco.objectapi.dac.basic.XmlCalendarSummary

### Members

#### calendarType :tibco.objectapi.dac.basic.XmlCalendarType

Identifies the type of calendar being described by this element. This property holds the value of the 'Calendar Type' attribute.

##### Type:

- tibco.objectapi.dac.basic.XmlCalendarType

Inherited From:
  - tibco.objectapi.dac.basic.XmlCalendarBasic#calendarType

#### dateCreated :Date

The UTC date/time on which this calendar was created. This property holds the value of the 'Date Created' attribute.

##### Type:

- Date

Inherited From:
  - tibco.objectapi.dac.basic.XmlCalendarBasic#dateCreated

#### dateModified :Date

The UTC date/time on which this calendar was last updated. This property holds the value of the 'Date Modified' attribute.

##### Type:

- Date

Inherited From:
  - tibco.objectapi.dac.basic.XmlCalendarBasic#dateModified

#### name :string

The mandatory name of the calendar. This must be unique within the given namespace. This property holds the value of the 'Name' attribute.

##### Type:

- string

Inherited From:
  - tibco.objectapi.dac.basic.XmlCalendarBasic#name

#### namespace :string

Used to categorize, or group, named Calendars. Calendars sharing the same namespace must have unique names. A namespace of null is still considered a valid namespace. This property holds the value of the 'Namespace' attribute.

##### Type:

- string

Inherited From:
  - tibco.objectapi.dac.basic.XmlCalendarBasic#namespace

#### reference :Array.<string>

The collection of Calendar References associated with the Calendar. This property holds the value of the 'Reference' attribute list.

##### Type:

- Array.<string>

Inherited From:
  - tibco.objectapi.dac.basic.XmlCalendarSummary#reference

#### version :number

The version number used to detect concurrent updates to the same Calendar; also known as optimistic locking. When saving a new Calendar this value should be set to its default value (-1). This property holds the value of the 'Version' attribute.

##### Type:

- number