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 | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetDefaultTimeFormat | |
![]() | GetHashCode | Serves as a hash function for a particular type. (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 | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | Resolve | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |