Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class NodaTime.​Extensions.​DateOnlyExtensions

Assembly: NodaTime

Inheritance: object → DateOnlyExtensions

Extension methods for <see cref="T:System.DateOnly" /> .

Methods

public static LocalDate
ToLocalDate​(System.​DateOnly date)
Converts a <see cref="T:System.DateOnly" /> to the equivalent <see cref="T:NodaTime.LocalDate" /> .
Returns The <see cref="T:NodaTime.LocalDate" /> equivalent, which is always in the ISO calendar system.
date The date to convert.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object