The TimeFormatter type exposes the following members.

Constructors

  NameDescription
Public methodTimeFormatter
Initializes a new instance of the TimeFormatter class

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (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 (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

See Also