Share via


Year Object Members

Project Developer Reference

A Year object represents one year in a calendar.

Methods

  Name Description
Bb212905.methods(en-us,office.12).gif 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
Bb212905.properties(en-us,office.12).gif Application Returns an Application object. Read-only Object.
Bb212905.properties(en-us,office.12).gif Calendar Returns a Calendar object representing the calendar containing the year. Read-only Object.
Bb212905.properties(en-us,office.12).gif Count Returns the number of days in the Year object. Read-only Integer.
Bb212905.properties(en-us,office.12).gif Index Returns the index of an object in its containing collection. Read-only Integer.
Bb212905.properties(en-us,office.12).gif Months Returns a Months collection representing the months in a year. Read-only Object.
Bb212905.properties(en-us,office.12).gif Name Returns the name of a Year object. Read-only String.
Bb212905.properties(en-us,office.12).gif Parent Returns the parent of the object. Read-only Object.
Bb212905.properties(en-us,office.12).gif Shift1 Returns a Shift object representing a shift of a year. Read-only Object.
Bb212905.properties(en-us,office.12).gif Shift2 Returns a Shift object representing a shift of a year. Read-only Object.
Bb212905.properties(en-us,office.12).gif Shift3 Returns a Shift object representing a shift of a Year. Read-only Object.
Bb212905.properties(en-us,office.12).gif Shift4 Returns a Shift object representing a shift of a Year. Read-only Object.
Bb212905.properties(en-us,office.12).gif Shift5 Returns a Shift object representing a shift of a Year. Read-only Object.
Bb212905.properties(en-us,office.12).gif Working True if any day in a calendar year is a working day. Read/write Boolean.