DateOptions Methods
Include Protected Members
Include Inherited Members
The DateOptions type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() |
AddDays | Returns a date that is the specified number of days away from the specified date. |
![]() |
AddMonths | Returns a date that is the specified number of months away from the specified date. |
![]() |
AddYears | Returns a date that is the specified number of years away from the specified date. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
fixYear | Returns a SimpleDate object that represents a date value that is corrected to conform to the requirements of the current international calendar. |
![]() |
Get12Hours | Returns the hour values used for a 12-hour clock. |
![]() |
GetDateString | Returns a string representation of the specified date and uses the specified format. |
![]() |
GetDayChar(Int32) | Returns a string representation of the specified calendar day. |
![]() |
GetDayChar(Int32, SPCalendarType) | Returns a string representation of the specified calendar day and uses the specified calendar type. |
![]() |
GetDaysAbbreviation | Returns abbreviations for the current days of the week. |
![]() |
GetDaysSuperShortAbbreviation | Returns short abbreviations for the current days of the week. |
![]() |
GetDowLongDateString | Returns a string representation of the day of week of the specified date. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetHoursString | Returns the hour values used to display time values in the specified format. |
![]() |
GetLeapMonthNames | Gets the full names of the months for a leap year. |
![]() |
GetLeapMonthNamesAbbreviation | Gets the abbreviation names of the months for a leap year. |
![]() |
GetLongTimePattern | Gets the format pattern for a long time value. |
![]() |
GetMonthDayDateString | Returns a string representation of the month and day of the specified date. |
![]() |
GetMonthNames() | Gets the full names of the months for non-leap year. |
![]() |
GetMonthNames(SimpleDate) | Returns the month names used to display the specified date. |
![]() |
GetMonthNamesAbbreviation() | Returns an abbreviated version of the month names used to display the date. |
![]() |
GetMonthNamesAbbreviation(SimpleDate) | Returns an abbreviated version of the month names used to display the specified date. |
![]() |
GetMonthYearString | Returns a string representation of the month and year of the specified date. |
![]() |
GetShortDateString | Returns a string representation of the specified date and uses the short date format. |
![]() |
GetShortDayAbbreviation | Returns shortened abbreviations for the current days of the week. |
![]() |
GetShortTimePattern | Gets the format pattern for a short time value. |
![]() |
GetTimeString | Returns a string representation of the elapsed time between two specified DateTime values. |
![]() |
GetTimeStringFromPattern | Returns a string representation of a specified DateTime value. |
![]() |
GetType | (Inherited from Object.) |
![]() |
GetYearString | Returns a string representation of the year of the specified date. |
![]() |
IsWorkDay | Returns a Boolean value that indicates whether the specified day is a work day. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ParseDate | Returns a SimpleDate object as an output parameter that represents the specified date string in the specified format. |
![]() |
ParseMonthDayDate | Returns a SimpleDate object as an output parameter that represents the specified date string and uses the current MonthDayPattern format. |
![]() |
ParseShortDate | Returns a SimpleDate object as an output parameter that represents the specified date string and uses the current ShortDatePattern format. |
![]() |
ParseTime | Returns a DateTime object as an output parameter that represents the specified time string in the specified format. |
![]() |
ToString | (Inherited from Object.) |
Top
.gif)
.gif)