Click or drag to resize
LocalDate Class
A date without a time-zone in the ISO-8601 calendar system. LocalDate is an immutable date-time object that represents a date, often viewed as year-month-day. This class is implemented to match the Date representation CQL string literals.
Inheritance Hierarchy
SystemObject
  CassandraLocalDate

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax
C#
public class LocalDate : IComparable<LocalDate>, 
	IEquatable<LocalDate>

The LocalDate type exposes the following members.

Constructors
  NameDescription
Public methodLocalDate
Creates a new instance of LocalDate
Top
Methods
  NameDescription
Public methodCompareTo
Compares this instance value to another and returns an indication of their relative values.
Public methodStatic memberDaysSinceJan1
Returns the amount of days since Jan 1, for a given month/day
Public methodEquals(Object) (Overrides ObjectEquals(Object).)
Public methodEquals(LocalDate)
Determines if the value is equal to this instance.
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToDateTimeOffset
Returns the DateTimeOffset representation of the LocalDate for dates between 0001-01-01 and 9999-12-31
Public methodToString
Returns the string representation of the LocalDate in yyyy-MM-dd format
(Overrides ObjectToString.)
Top
Operators
Properties
  NameDescription
Public propertyDay
Public propertyMonth
Public propertyYear
Top
See Also