DateTimeFormatInfo Methods

DateTimeFormatInfo Methods

The DateTimeFormatInfo type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clone Creates a shallow copy of the DateTimeFormatInfo.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetAbbreviatedDayName Returns the culture-specific abbreviated name of the specified day of the week based on the culture associated with the current DateTimeFormatInfo object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetAbbreviatedEraName Returns the string containing the abbreviated name of the specified era, if an abbreviation exists.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetAbbreviatedMonthName Returns the culture-specific abbreviated name of the specified month based on the culture associated with the current DateTimeFormatInfo object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetAllDateTimePatterns Overloaded. Returns the standard patterns in which date and time values can be formatted.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetDayName Returns the culture-specific full name of the specified day of the week based on the culture associated with the current DateTimeFormatInfo object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetEra Returns the integer representing the specified era.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetEraName Returns the string containing the name of the specified era.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetFormat Returns an object of the specified type that provides a DateTime formatting service.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetInstance Returns the DateTimeFormatInfo associated with the specified IFormatProvider.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetMonthName Returns the culture-specific full name of the specified month based on the culture associated with the current DateTimeFormatInfo object.
Public method GetShortestDayName Obtains the shortest abbreviated day name for a specified day of the week associated with the current DateTimeFormatInfo object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ReadOnly Returns a read-only DateTimeFormatInfo wrapper.
Public method SetAllDateTimePatterns Sets all the custom date and time format strings that correspond to a specified standard format string.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2016 Microsoft