Class SimpleDate
- public class SimpleDate
A basic Date class. Wraps up the complexity of the standard Java
date mechanism. A date represents a fixed point in time.
- Version:
- $Id: SimpleDate.java,v 1.1 2001/04/25 17:23:26 administrator Exp $
- Author:
- Ben Dugan
SimpleDate
public SimpleDate()
- Create a date whose time is now.
SimpleDate
public SimpleDate(int year,
int month,
int day,
int hour,
int minute)
- Create a date whose time is specified by these arguments.
toString
public java.lang.String toString()
- Answer a nice representation of the date.
- Overrides:
toString
in class java.lang.Object
getTimeInMillis
public long getTimeInMillis()
- Answer the number of milliseconds this date is since Jan 1, 1970.