public class


extends Object
implements Comparable<T>
   ↳ com.atlassian.jira.datetime.LocalDate

Class Overview

Represents a "Local Date" or "Calendar Date" - that is a date (no time) without any associated timezone.

LocalDate is only defined to handle years in the Common Era - it cannot handle dates that are BC.


Public Constructors
LocalDate(int year, int month, int day)
Public Methods
int compareTo(LocalDate localDate)
boolean equals(Object o)
int getDay()
LocalDate getEarlierDate(LocalDate that)
LocalDate getLaterDate(LocalDate that)
int getMonth()
int getYear()
int hashCode()
LocalDate minusDays(int days)
LocalDate minusMonths(int months)
LocalDate minusYears(int years)
LocalDate plusDays(int days)
LocalDate plusMonths(int months)
LocalDate plusYears(int years)
String toString()
Inherited Methods
From class java.lang.Object
From interface java.lang.Comparable

Public Constructors

public LocalDate (int year, int month, int day)

Public Methods

public int compareTo (LocalDate localDate)

public boolean equals (Object o)

public int getDay ()

public LocalDate getEarlierDate (LocalDate that)

public LocalDate getLaterDate (LocalDate that)

public int getMonth ()

public int getYear ()

public int hashCode ()

public LocalDate minusDays (int days)

public LocalDate minusMonths (int months)

public LocalDate minusYears (int years)

public LocalDate plusDays (int days)

public LocalDate plusMonths (int months)

public LocalDate plusYears (int years)

public String toString ()