|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.common.math.Duration.Components
public class Duration.Components
The atomic components of this duration, broken down into whole hours, minutes and (fractional) seconds.
Constructor Summary | |
---|---|
protected |
Duration.Components(int hours,
int minutes,
double seconds)
|
Method Summary | |
---|---|
int |
getHours()
Get the whole hours in this duration. |
int |
getMinutes()
Get the whole minutes in this duration. |
double |
getSeconds()
Get the duration's seconds component. |
String |
toString()
Return the duration as a string in a form containing hours, minutes, and seconds, including the fractional part of the seconds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Duration.Components(int hours, int minutes, double seconds)
Method Detail |
---|
public int getHours()
public int getMinutes()
public double getSeconds()
public String toString()
HHH:MM:SS.mmm
, where
toString
in class Object
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |