Table of Contents

Class LocalDateTime

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

Represents a local date time value, without a time zone

public sealed class LocalDateTime : TemporalValue, IConvertible, IEquatable<LocalDateTime>, IComparable, IComparable<LocalDateTime>
Inheritance
LocalDateTime
Implements
Inherited Members
Extension Methods

Constructors

LocalDateTime(DateTime)

Initializes a new instance of LocalDateTime from given DateTime value.

LocalDateTime(int, int, int, int, int, int)

Initializes a new instance of LocalDateTime from individual date time component values

LocalDateTime(int, int, int, int, int, int, int)

Initializes a new instance of LocalDateTime from individual date time

Fields

Comparer

Default comparer for LocalDateTime values.

Properties

Day

Gets the day of month component of this instance.

Hour

Gets the hour component of this instance.

Minute

Gets the minute component of this instance.

Month

Gets the month component of this instance.

Nanosecond

Gets the nanosecond component of this instance.

Second

Gets the second component of this instance.

Year

Gets the year component of this instance.

Methods

CompareTo(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.

CompareTo(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.

ConvertToDateTime()

Converts this TemporalValue instance to a DateTime instance.

Equals(LocalDateTime)

Returns a value indicating whether the value of this instance is equal to the value of the specified LocalDateTime instance.

Equals(object)

Returns a value indicating whether this instance is equal to a specified object.

GetHashCode()

Returns the hash code for this instance.

ToDateTime()

Converts this date value to a DateTime instance.

ToString()

Converts the value of the current LocalDateTime object to its equivalent string representation.

Operators

operator >(LocalDateTime, LocalDateTime)

Determines whether one specified LocalDateTime is later than another specified LocalDateTime.

operator >=(LocalDateTime, LocalDateTime)

Determines whether one specified LocalDateTime represents a duration that is the same as or earlier than the other specified LocalDateTime

operator <(LocalDateTime, LocalDateTime)

Determines whether one specified LocalDateTime is earlier than another specified LocalDateTime.

operator <=(LocalDateTime, LocalDateTime)

Determines whether one specified LocalDateTime represents a duration that is the same as or later than the other specified LocalDateTime