Click or drag to resize

TimeZoneHelper Class

Inheritance Hierarchy
SystemObject
  Omada.OE.AppLogic.HelpersTimeZoneHelper

Namespace:  Omada.OE.AppLogic.Helpers
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public class TimeZoneHelper

The TimeZoneHelper type exposes the following members.

Constructors
  NameDescription
Public methodTimeZoneHelper
Top
Methods
  NameDescription
Public methodGetBeginningOfDayInLocalTimeInUtc
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.
Public methodGetBeginningOfTodayInLocalTimeInUtc
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.
Public methodGetEndOfDayInLocalTimeInUtc
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.
Public methodGetEndOfTodayInLocalTimeInUtc
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.
Public methodStatic memberGetTimeZoneFromPropertyValue
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also