The TimeFormatter type exposes the following members.

Constructors

  NameDescription
Public methodTimeFormatter
Initializes a new instance of the TimeFormatter class

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetDefaultTimeFormat
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetHour(DateTime, TimeFormat, String)
Extracts hour from DateTime class and formats it for 12/24 hours clock.
Public methodStatic memberGetHour(Int32, TimeFormat, String)
Formats an hour number for 12/24 hours clock.
Public methodStatic memberGetHourMinutes(DateTime, TimeFormat)
Formats the time using the specified TimeFormat, i.e. 14:30 or 2:30 PM.
Public methodStatic memberGetHourMinutes(TimeSpan, TimeFormat)
Formats the time using the specified TimeFormat, i.e. 14:30 or 2:30 PM.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberResolve
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also