public class DayMonthYear extends Object
date production.| Constructor and Description |
|---|
DayMonthYear(int day,
int month,
int year) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getDay()
Gets the day component of this date.
|
int |
getMonth()
Gets the month component of this date.
|
int |
getYear()
Gets the year component of this date.
|
int |
hashCode() |
Date |
toDate()
Return the
Date representation |
String |
toString() |
public final int getDay()
public final int getMonth()
public final int getYear()
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.