Nevron Open Vision Documentation
Nevron.Nov Namespace / NTimeZone Class
Properties Methods


In This Topic
    NTimeZone Class Members
    In This Topic

    The following tables list the members exposed by NTimeZone.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets the time difference between the current time zone's standard time and Coordinated Universal Time (UTC).  
    Public PropertyGets the localized display name for the current time zone's daylight saving time.  
    Public PropertyGets the localized general display name that represents the time zone.  
    Public PropertyGets the time zone identifier.  
    Public Propertystatic (Shared in Visual Basic)Gets a NTimeZone object that represents the local time zone.  
    Public PropertyGets the localized display name for the time zone's standard time.  
    Public PropertyGets a value indicating whether the time zone has any daylight saving time rules.  
    Public Propertystatic (Shared in Visual Basic)Gets a NTimeZone object that represents the Coordinated Universal Time (UTC) zone.  
    Top
    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