Class ConcreteDuration
java.lang.Object
gaiasky.util.gaia.time.ConcreteDuration
- All Implemented Interfaces:
Duration
-
Field Summary
FieldsFields inherited from interface Duration
DAYS_PER_JULIAN_YEAR, HOURS_PER_DAY, HOURS_PER_JULIAN_YEAR, HOURS_PER_REV, MINS_PER_DAY, MINS_PER_HOUR, MINS_PER_JULIAN_YEAR, MINS_PER_REV, NS_PER_DAY, NS_PER_DAY_L, NS_PER_HOUR, NS_PER_HOUR_L, NS_PER_JULIAN_YEAR, NS_PER_JULIAN_YEAR_L, NS_PER_MIN, NS_PER_MIN_L, NS_PER_REV, NS_PER_REV_L, NS_PER_SEC, REVS_PER_DAY, REVS_PER_JULIAN_YEAR, SECS_PER_DAY, SECS_PER_HOUR, SECS_PER_JULIAN_YEAR, SECS_PER_MIN, SECS_PER_REVModifier and TypeFieldDescriptionstatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final longstatic final doublestatic final longstatic final doublestatic final longstatic final doublestatic final longstatic final doublestatic final longstatic final longA few obvious constantsstatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final double -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Duration
add, asDays, asHours, asJulianYears, asMins, asNanoSecs, asRevs, asSecs, set, sub
-
Field Details
-
value
protected double value
-
-
Constructor Details
-
ConcreteDuration
public ConcreteDuration()
-
-
Method Details
-
getScale
-
setScale
-
negate
-
mult
-
isLongerThan
Description copied from interface:DurationCheck that this duration is longer than a given one- Specified by:
isLongerThanin interfaceDuration- Parameters:
d- duration to compare to- Returns:
trueif this duration is longer thand- See Also:
-