public class DateTime
extends java.lang.Object
Constructor and Description |
---|
DateTime()
Default constructor initializes the time and date to the current time and current date.
|
DateTime(double dblDate,
long lTime)
Constructs DateTime from separate date and time inputs
|
Modifier and Type | Method and Description |
---|---|
double |
date()
Retrieve the Date
|
long |
time()
Retrieve the time
|
public DateTime() throws java.lang.Exception
java.lang.Exception
- Thrown if the DateTime Instance cnnot be createdpublic DateTime(double dblDate, long lTime) throws java.lang.Exception
dblDate
- DatelTime
- Timejava.lang.Exception
- Thrown on Invalid Inputs