public class SimpleDate
extends java.lang.Object
Constructor and Description |
---|
SimpleDate()
Create a date whose time is now.
|
SimpleDate(int year,
int month,
int day,
int hour,
int minute)
Create a date whose time is specified by these arguments.
|
Modifier and Type | Method and Description |
---|---|
long |
getTimeInMillis()
Answer the number of milliseconds this date is since Jan 1, 1970.
|
java.lang.String |
toString()
Answer a nice representation of the date.
|