Click or drag to resize

ZonedDateTime Class

Represents a date time value with a time zone, specified as a UTC offset
Inheritance Hierarchy
SystemObject
  Neo4j.DriverTemporalValue
    Neo4j.DriverZonedDateTime

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

The ZonedDateTime type exposes the following members.

Constructors
  NameDescription
Public methodZonedDateTime(DateTimeOffset)
Initializes a new instance of ZonedDateTime from given DateTimeOffset value.
Public methodZonedDateTime(DateTime, Int32)
Initializes a new instance of ZonedDateTime from given DateTime value.
Public methodZonedDateTime(DateTime, String)
Initializes a new instance of ZonedDateTime from given DateTime value.
Public methodZonedDateTime(DateTime, TimeSpan)
Initializes a new instance of ZonedDateTime from given DateTime value.
Public methodZonedDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Zone)
Initializes a new instance of ZonedDateTime from individual date time component values
Public methodZonedDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Zone)
Initializes a new instance of ZonedDateTime from individual date time component values
Top
Properties
  NameDescription
Public propertyDay
Gets the day of month component of this instance.
Public propertyHour
Gets the hour component of this instance.
Public propertyMinute
Gets the minute component of this instance.
Public propertyMonth
Gets the month component of this instance.
Public propertyNanosecond
Gets the nanosecond component of this instance.
Public propertyOffsetSeconds
Returns the offset from UTC of this instance at the time it represents.
Public propertySecond
Gets the second component of this instance.
Public propertyYear
Gets the year component of this instance.
Public propertyZone
The time zone that this instance represents.
Top
Methods
  NameDescription
Public methodCompareTo(Object)
Compares the value of this instance to a specified object which is expected to be a ZonedDateTime value, and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified ZonedDateTime value.
Public methodCompareTo(ZonedDateTime)
Compares the value of this instance to a specified ZonedDateTime 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(ZonedDateTime)
Returns a value indicating whether the value of this instance is equal to the value of the specified ZonedDateTime instance.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodToDateTimeOffset
Converts this instance to an equivalent DateTimeOffset value
Public methodToString
Converts the value of the current ZonedDateTime object to its equivalent string representation.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberGreaterThan
Determines whether one specified ZonedDateTime is later than another specified ZonedDateTime.
Public operatorStatic memberGreaterThanOrEqual
Determines whether one specified ZonedDateTime represents a duration that is the same as or earlier than the other specified ZonedDateTime
Public operatorStatic memberLessThan
Determines whether one specified ZonedDateTime is earlier than another specified ZonedDateTime.
Public operatorStatic memberLessThanOrEqual
Determines whether one specified ZonedDateTime represents a duration that is the same as or later than the other specified ZonedDateTime
Top
Fields
  NameDescription
Public fieldStatic memberComparer
Default comparer for ZonedDateTime values.
Top
See Also