DateOptions methods

The DateOptions type exposes the following members.

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