public class CalendarDate extends Object implements Comparable<CalendarDate>
| Constructor and Description |
|---|
CalendarDate(Date date) |
CalendarDate(int year,
int month,
int day) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
after(CalendarDate calendarDate) |
boolean |
before(CalendarDate calendarDate) |
boolean |
beforeOrOn(CalendarDate calendarDate) |
int |
compareTo(CalendarDate calendarDate) |
boolean |
equals(Object obj) |
int |
getDay() |
int |
getMonth() |
int |
getYear() |
int |
hashCode() |
int |
intValue() |
boolean |
on(CalendarDate calendarDate) |
boolean |
onOrAfter(CalendarDate calendarDate) |
String |
toString() |
public CalendarDate(int year,
int month,
int day)
public CalendarDate(Date date)
public int getYear()
public int getMonth()
public int getDay()
public int intValue()
public boolean before(CalendarDate calendarDate)
public boolean beforeOrOn(CalendarDate calendarDate)
public boolean after(CalendarDate calendarDate)
public boolean onOrAfter(CalendarDate calendarDate)
public boolean on(CalendarDate calendarDate)
public int compareTo(CalendarDate calendarDate)
compareTo in interface Comparable<CalendarDate>Copyright © 2017. All rights reserved.