|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.history.time.Time
org.jscience.history.time.HexadecimalTime
public class HexadecimalTime
A class representing a way to compute time.
| Field Summary | |
|---|---|
static Unit<Duration> |
DAYS_HOURS_MAXIMES_MINUTES_SECONDS_MILLIS
DOCUMENT ME! |
static Unit<Duration> |
HEXADECIMAL_DAY
A unit of duration equal to 16 (standard name d). |
static Unit<Duration> |
HEXADECIMAL_HOUR
A unit of duration equal to 10 (standard name h). |
static Unit<Duration> |
HEXADECIMAL_MAXIME
A unit of duration equal to 16 (standard name M). |
static Unit<Duration> |
HEXADECIMAL_MILLISECOND
A unit of duration equal to 1/1000 s (standard name
ms). |
static Unit<Duration> |
HEXADECIMAL_MINUTE
A unit of duration equal to 16 s (standard name
min). |
static BaseUnit<Duration> |
HEXADECIMAL_SECOND
The base unit for decimal seconds, which is about 1,318359375 SI seconds. |
static int |
HOURS_PER_DAY
DOCUMENT ME! |
static int |
MAXIMES_PER_HOUR
DOCUMENT ME! |
static int |
MILLISECONDS_PER_SECOND
DOCUMENT ME! |
static int |
MINUTES_PER_MAXIME
DOCUMENT ME! |
static int |
SECONDS_PER_MINUTE
DOCUMENT ME! |
| Constructor Summary | |
|---|---|
HexadecimalTime()
Creates a new HexadecimalTime object. |
|
HexadecimalTime(double millis)
Creates a new HexadecimalTime object. |
|
HexadecimalTime(double days,
double hours,
double maximes,
double minutes,
double seconds,
double millis)
Creates a new HexadecimalTime object. |
|
| Method Summary | |
|---|---|
int |
getDays()
DOCUMENT ME! |
int |
getHours()
DOCUMENT ME! |
int |
getMaximes()
DOCUMENT ME! |
int |
getMilliseconds()
DOCUMENT ME! |
int |
getMinutes()
DOCUMENT ME! |
int |
getSeconds()
DOCUMENT ME! |
Amount<Duration> |
getTime()
DOCUMENT ME! |
void |
nextDay()
DOCUMENT ME! |
void |
nextHour()
DOCUMENT ME! |
void |
nextMaxime()
DOCUMENT ME! |
void |
nextMillisecond()
DOCUMENT ME! |
void |
nextMinute()
DOCUMENT ME! |
void |
nextSecond()
DOCUMENT ME! |
java.lang.String |
toString()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int HOURS_PER_DAY
public static final int MAXIMES_PER_HOUR
public static final int MINUTES_PER_MAXIME
public static final int SECONDS_PER_MINUTE
public static final int MILLISECONDS_PER_SECOND
public static final BaseUnit<Duration> HEXADECIMAL_SECOND
public static final Unit<Duration> HEXADECIMAL_MILLISECOND
1/1000 s (standard name
ms).
public static final Unit<Duration> HEXADECIMAL_MINUTE
16 s (standard name
min).
public static final Unit<Duration> HEXADECIMAL_MAXIME
16 HEXADECIMAL_MINUTE (standard name M).
public static final Unit<Duration> HEXADECIMAL_HOUR
10 HEXADECIMAL_MINUTE (standard name h).
public static final Unit<Duration> HEXADECIMAL_DAY
16 HEXADECIMAL_HOUR (standard name d).
public static final Unit<Duration> DAYS_HOURS_MAXIMES_MINUTES_SECONDS_MILLIS
| Constructor Detail |
|---|
public HexadecimalTime(double days,
double hours,
double maximes,
double minutes,
double seconds,
double millis)
public HexadecimalTime(double millis)
millis - DOCUMENT ME!public HexadecimalTime()
| Method Detail |
|---|
public Amount<Duration> getTime()
getTime in class Timepublic int getMilliseconds()
getMilliseconds in class Timepublic int getSeconds()
getSeconds in class Timepublic int getMinutes()
getMinutes in class Timepublic int getMaximes()
public int getHours()
getHours in class Timepublic int getDays()
getDays in class Timepublic void nextMillisecond()
nextMillisecond in class Timepublic void nextSecond()
nextSecond in class Timepublic void nextMinute()
nextMinute in class Timepublic void nextMaxime()
public void nextHour()
nextHour in class Timepublic void nextDay()
nextDay in class Timepublic java.lang.String toString()
toString in class Time
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||