The TimeFormatter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | TimeFormatter | Initializes a new instance of the TimeFormatter class |
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() ![]() | GetHour(DateTime, TimeFormat, String) |
Extracts hour from DateTime class and formats it for 12/24 hours clock.
|
![]() ![]() | GetHour(Int32, TimeFormat, String) |
Formats an hour number for 12/24 hours clock.
|
![]() ![]() | GetHourMinutes(DateTime, TimeFormat) |
Formats the time using the specified TimeFormat, i.e. 14:30 or 2:30 PM.
|
![]() ![]() | GetHourMinutes(TimeSpan, TimeFormat) |
Formats the time using the specified TimeFormat, i.e. 14:30 or 2:30 PM.
|
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |