TimeZoneHelper Class |
Namespace: Omada.OE.AppLogic.Helpers
public class TimeZoneHelper
The TimeZoneHelper type exposes the following members.
Name | Description | |
---|---|---|
![]() | TimeZoneHelper |
Name | Description | |
---|---|---|
![]() | GetBeginningOfDayInLocalTimeInUtc |
Converts a UTC datetime to a local time and returns the beginning of the date it is on (that is, the point in time right after midnight) converted to UTC time.
|
![]() | GetBeginningOfTodayInLocalTimeInUtc |
Returns the beginning of the date (that is, the point in time right after midnight) that 'right now' is on in a specified time zone - converted to UTC time.
|
![]() | GetEndOfDayInLocalTimeInUtc |
Converts a UTC datetime to a local time and returns the end of the date it is on (that is, the point in time right before midnight) converted to UTC time.
|
![]() | GetEndOfTodayInLocalTimeInUtc |
Returns the end of the date (that is, the point in time right before midnight) that 'right now' is on in a specified time zone - converted to UTC time.
|
![]() ![]() | GetTimeZoneFromPropertyValue |
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |