NevronOpenVision
Nevron.Nov Namespace / NTimeZone Class


NTimeZone Class Methods

For a list of all members of this type, see NTimeZone members.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Overloaded. Converts a time from one time zone to another.  
Public Methodstatic (Shared in Visual Basic)Converts the given time in the specified time zone to Coordinated Universal Time (UTC).  
Public Methodstatic (Shared in Visual Basic)Creates a custom time zone with a specified identifier, an offset from Coordinated Universal Time (UTC), a display name, a standard time name, a daylight saving time name, daylight saving time rules, and a value that indicates whether the returned object reflects daylight saving time information.  
Public MethodCreates an identical copy of this time zone.  
Public Methodstatic (Shared in Visual Basic)Retrieves a time zone by ID. Returns null if a time zone with the given ID is not registered.  
Public Methodstatic (Shared in Visual Basic)Retrieves a time zone by UTC offset and full or partial display name. Returns null if a time zone with the given UTC offset and display name is not registered.  
Public Methodstatic (Shared in Visual Basic)Returns an array with all currently registered time zones.  
Public MethodCalculates the offset or difference between the time in this time zone and Coordinated Universal Time (UTC) for a particular date and time.  
Public Methodstatic (Shared in Visual Basic)Safely converts a time from one time zone to another. If the dateTime is an invalid time (that is, it represents a time that does not exist because of a time zone's adjustment rules), then this method rounds it to the nearest valid date time instead of throwing an exception.  
Public Methodstatic (Shared in Visual Basic)Safely converts the given time in the specified time zone to Coordinated Universal Time (UTC). If the dateTime is an invalid time (that is, it represents a time that does not exist because of a time zone's adjustment rules), then this method rounds it to the nearest valid date time instead of throwing an exception.  
Public MethodGets the string representation of this object.  
Top
Protected Methods
 NameDescription
Internal Methodstatic (Shared in Visual Basic)  
Internal Methodstatic (Shared in Visual Basic)  
Internal Methodstatic (Shared in Visual Basic)  
Top
See Also