public class DateWrapper
extends java.util.Date
Date
properties so that a more interesting toString
method can be provided
for Date
properties. This allows the Date
to be compared to a RegularExpression
in an interesting way.Modifier and Type | Field and Description |
---|---|
static FtDebug |
debug |
Constructor and Description |
---|
DateWrapper() |
DateWrapper(int year,
int month,
int date) |
DateWrapper(int year,
int month,
int date,
int hrs,
int min) |
DateWrapper(int year,
int month,
int date,
int hrs,
int min,
int sec) |
DateWrapper(long date) |
DateWrapper(java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object right)
Overrides the default
equals method so that Date properties can be compared
in an interesting way. |
java.lang.String |
toString()
Overrides the default
toString method so that Date properties can be compared
in a RegularExpression in an interesting way. |
public DateWrapper()
public DateWrapper(long date)
public DateWrapper(int year, int month, int date)
public DateWrapper(int year, int month, int date, int hrs, int min)
public DateWrapper(int year, int month, int date, int hrs, int min, int sec)
public DateWrapper(java.lang.String s)
public java.lang.String toString()
toString
method so that Date
properties can be compared
in a RegularExpression
in an interesting way.toString
in class java.util.Date
public boolean equals(java.lang.Object right)
equals
method so that Date
properties can be compared
in an interesting way.equals
in class java.util.Date