|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecthydroScalingAPI.tools.DateToElapsedTime
public class DateToElapsedTime
This object tranforms a date represented by a string of the type
year-month-day-hour-minute-second into an elapsed time since a reference time
set by the Calendar object
| Constructor Summary | |
|---|---|
DateToElapsedTime(java.lang.String date)
Creates a new instance of DateToSeconds |
|
| Method Summary | |
|---|---|
double |
getDays()
The number of days since the reference time |
double |
getHours()
The number of hours since the reference time |
double |
getMinutes()
The number of minutes since the reference time |
double |
getSeconds()
The number of seconds since the reference time |
double |
getYears()
The number of years since the reference time |
static void |
main(java.lang.String[] args)
Tests for the class |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateToElapsedTime(java.lang.String date)
date - The string of the type year-month-day-hour-minute-second| Method Detail |
|---|
public double getSeconds()
public double getMinutes()
public double getHours()
public double getDays()
public double getYears()
public static void main(java.lang.String[] args)
args - the command line arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.