Click or drag to resize

OffsetTime Class

Represents a time value with a UTC offset
Inheritance Hierarchy
SystemObject
  Neo4j.DriverTemporalValue
    Neo4j.DriverOffsetTime

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
public sealed class OffsetTime : TemporalValue, 
	IEquatable<OffsetTime>, IComparable, IComparable<OffsetTime>

The OffsetTime type exposes the following members.

Constructors
  NameDescription
Public methodOffsetTime(DateTime, TimeSpan)
Initializes a new instance of OffsetTime from time components of given DateTime value
Public methodOffsetTime(TimeSpan, TimeSpan)
Initializes a new instance of OffsetTime from given TimeSpan value
Public methodOffsetTime(Int32, Int32, Int32, Int32)
Initializes a new instance of OffsetTime from individual time components
Public methodOffsetTime(Int32, Int32, Int32, Int32, Int32)
Initializes a new instance of OffsetTime from individual time components
Top
Properties
  NameDescription
Public propertyHour
Gets the hour component of this instance.
Public propertyMinute
Gets the minute component of this instance.
Public propertyNanosecond
Gets the nanosecond component of this instance.
Public propertyOffsetSeconds
Offset in seconds precision
Public propertySecond
Gets the second component of this instance.
Top
Methods
  NameDescription
Public methodCompareTo(Object)
Compares the value of this instance to a specified object which is expected to be a OffsetTime value, and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified OffsetTime value.
Public methodCompareTo(OffsetTime)
Compares the value of this instance to a specified OffsetTime value and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified DateTime value.
Public methodEquals(Object)
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ObjectEquals(Object).)
Public methodEquals(OffsetTime)
Returns a value indicating whether the value of this instance is equal to the value of the specified OffsetTime instance.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodToString
Converts the value of the current OffsetTime object to its equivalent string representation.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberGreaterThan
Determines whether one specified OffsetTime is later than another specified OffsetTime.
Public operatorStatic memberGreaterThanOrEqual
Determines whether one specified OffsetTime represents a duration that is the same as or earlier than the other specified OffsetTime
Public operatorStatic memberLessThan
Determines whether one specified OffsetTime is earlier than another specified OffsetTime.
Public operatorStatic memberLessThanOrEqual
Determines whether one specified OffsetTime represents a duration that is the same as or later than the other specified OffsetTime
Top
Fields
  NameDescription
Public fieldStatic memberComparer
Default comparer for OffsetTime values.
Top
See Also