Year Object Members
Project Developer Reference |
A Year object represents one year in a calendar.
Methods
Name | Description | |
---|---|---|
Default | For a resource calendar, resets the Year element to the values in the corresponding base calendar. For a base calendar, the Default method resets the properties to their default values. |
Properties
Name | Description | |
---|---|---|
Application | Returns an Application object. Read-only Object. | |
Calendar | Returns a Calendar object representing the calendar containing the year. Read-only Object. | |
Count | Returns the number of days in the Year object. Read-only Integer. | |
Index | Returns the index of an object in its containing collection. Read-only Integer. | |
Months | Returns a Months collection representing the months in a year. Read-only Object. | |
Name | Returns the name of a Year object. Read-only String. | |
Parent | Returns the parent of the object. Read-only Object. | |
Shift1 | Returns a Shift object representing a shift of a year. Read-only Object. | |
Shift2 | Returns a Shift object representing a shift of a year. Read-only Object. | |
Shift3 | Returns a Shift object representing a shift of a Year. Read-only Object. | |
Shift4 | Returns a Shift object representing a shift of a Year. Read-only Object. | |
Shift5 | Returns a Shift object representing a shift of a Year. Read-only Object. | |
Working | True if any day in a calendar year is a working day. Read/write Boolean. |