Click or drag to resize

LocalDateTime Class

Represents a local date time value, without a time zone
Inheritance Hierarchy
SystemObject
  Neo4j.DriverTemporalValue
    Neo4j.DriverLocalDateTime

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

The LocalDateTime type exposes the following members.

Constructors
  NameDescription
Public methodLocalDateTime(DateTime)
Initializes a new instance of LocalDateTime from given DateTime value.
Public methodLocalDateTime(Int32, Int32, Int32, Int32, Int32, Int32)
Initializes a new instance of LocalDateTime from individual date time component values
Public methodLocalDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Initializes a new instance of LocalDateTime from individual date time
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 propertySecond
Gets the second component of this instance.
Public propertyYear
Gets the year 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 LocalDateTime value, and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified LocalDateTime value.
Public methodCompareTo(LocalDateTime)
Compares the value of this instance to a specified LocalDateTime 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(LocalDateTime)
Returns a value indicating whether the value of this instance is equal to the value of the specified LocalDateTime instance.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodToDateTime
Converts this date value to a DateTime instance.
Public methodToString
Converts the value of the current LocalDateTime object to its equivalent string representation.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberGreaterThan
Determines whether one specified LocalDateTime is later than another specified LocalDateTime.
Public operatorStatic memberGreaterThanOrEqual
Determines whether one specified LocalDateTime represents a duration that is the same as or earlier than the other specified LocalDateTime
Public operatorStatic memberLessThan
Determines whether one specified LocalDateTime is earlier than another specified LocalDateTime.
Public operatorStatic memberLessThanOrEqual
Determines whether one specified LocalDateTime represents a duration that is the same as or later than the other specified LocalDateTime
Top
Fields
  NameDescription
Public fieldStatic memberComparer
Default comparer for LocalDateTime values.
Top
See Also