Click or drag to resize

LocalDate Class

Represents a date value, without a time zone and time related components
Inheritance Hierarchy
SystemObject
  Neo4j.DriverTemporalValue
    Neo4j.DriverLocalDate

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

The LocalDate type exposes the following members.

Constructors
  NameDescription
Public methodLocalDate(DateTime)
Initializes a new instance of LocalDate from a date value
Public methodLocalDate(Int32, Int32, Int32)
Initializes a new instance of LocalDate from individual date component values
Top
Properties
  NameDescription
Public propertyDay
Gets the day of month component of this instance.
Public propertyMonth
Gets the month 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 LocalDate value, and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified LocalDate value.
Public methodCompareTo(LocalDate)
Compares the value of this instance to a specified LocalDate 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(LocalDate)
Returns a value indicating whether the value of this instance is equal to the value of the specified LocalDate 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 LocalDate object to its equivalent string representation.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberGreaterThan
Determines whether one specified LocalDate is later than another specified LocalDate.
Public operatorStatic memberGreaterThanOrEqual
Determines whether one specified LocalDate represents a duration that is the same as or earlier than the other specified LocalDate
Public operatorStatic memberLessThan
Determines whether one specified LocalDate is earlier than another specified LocalDate.
Public operatorStatic memberLessThanOrEqual
Determines whether one specified LocalDate represents a duration that is the same as or later than the other specified LocalDate
Top
Fields
  NameDescription
Public fieldStatic memberComparer
Default comparer for LocalDate values.
Top
See Also