Gemstone COMTRADE Library
Show/Hide TOC

# TimeOffset Class

Represents a UTC time offset for COMTRADE - format HhMM.

## Definition

Namespace: Gemstone.COMTRADE
Assembly: Gemstone.COMTRADE (in Gemstone.COMTRADE.dll) Version: 1.0.178 -- Release Build+740c2747c710dda812264380243ac84c1a2c9b20
C#
View Source Request Example

    public class TimeOffset

VB
View Source Request Example

    Public Class TimeOffset

C++
View Source Request Example

    public ref class TimeOffset

JavaScript
View Source Request Example

    Gemstone.COMTRADE.TimeOffset = function();

    Type.createClass(
    	'Gemstone.COMTRADE.TimeOffset');

Inheritance
  Object TimeOffset

## Constructors

TimeOffset | Creates a new instance of the TimeOffset
TimeOffset(String) | Creates a new instance of the TimeOffset

## Properties

Hours | Gets or sets UTC time offset hours.
Minutes | Gets or sets UTC time offset minutes.
NotApplicable | Gets or sets value that determines if offset is not applicable.
TickOffset | Gets the total TimeOffset value in ticks.

## Methods

Equals | Determines whether the specified object is equal to the current object. (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)
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetType | Gets the Type of the current instance. (Inherited from Object)
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
ToString | Converts TimeOffset to its string format. (Overrides ObjectToString)

## See Also

#### Reference

Gemstone.COMTRADE Namespace