public static class CalendarTools.DayOfYear
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
day
The day (of a month) of a unspecific year.
|
int |
month
The month of the day of a unspecific year.
|
| Constructor and Description |
|---|
DayOfYear(java.util.Calendar day)
Creates a new day of an unspecific year for the designated day, that is
the
Calendar.MONTH and the Calendar.DAY_OF_MONTH are
incorporated.. |
DayOfYear(int month,
int day)
Creates a new day of an unspecific year.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object otherObject)
Equality is based solely on the values of the month and day.
|
int |
hashCode()
Equality is based solely on the values of the month and day.
|
public int month
public int day
public DayOfYear(int month,
int day)
month - The month of the day of a unspecific year.day - The day (of a month) of a
unspecific year.public DayOfYear(java.util.Calendar day)
Calendar.MONTH and the Calendar.DAY_OF_MONTH are
incorporated..day - A calendar specifying the day of a year to create.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object otherObject)
equals in class java.lang.Object