|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdriver.ted.utilities.T_Date
public class T_Date
Title: T_Utilities Description: This class represents a simple date, it is maintained in the utility package driver.ted.utilities Copyright: (c) 2001 - 2006
| Constructor Summary | |
|---|---|
T_Date()
Default constructor sets the date to January 1, 2000, the start of the J2000 epoch. |
|
T_Date(int m,
int d,
int y)
Constructor takes three integer arguments to set the initial date The month will be set between 1 and 12 even if a larger number is passed. |
|
| Method Summary | |
|---|---|
void |
advanceDate(int m,
int d,
int y)
|
int |
getDay()
|
int |
getMonth()
|
int |
getYear()
|
void |
setDate(int m,
int d,
int y)
|
void |
setDay(int d)
|
void |
setMonth(int m)
|
void |
setYear(int y)
|
java.lang.String |
toMediumString()
Returns a string representing the medium length date. |
java.lang.String |
toString()
Returns the date in short format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public T_Date(int m,
int d,
int y)
m - The Monthd - The Dayy - The Yearpublic T_Date()
| Method Detail |
|---|
public void advanceDate(int m,
int d,
int y)
m - d - y -
public void setDate(int m,
int d,
int y)
m - d - y - public void setMonth(int m)
m - public void setDay(int d)
d - public void setYear(int y)
y - public int getMonth()
public int getDay()
public int getYear()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toMediumString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||