Class Queries
java.lang.Object
eu.fastipletonis.astro.temporal.Queries
Temporal queries used for retrieving time.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TemporalQuery<Double> Query for returning the decimal time as a double.static final TemporalQuery<BigDecimal> Query for returning the decimal time as a BigDecimal.static final TemporalQuery<BigDecimal> Query for returning the Astronomical Julian Day as a high-precision BigDecimal.static final TemporalQuery<Double> Query for returning the Astronomical Julian Day as a double. -
Method Summary
-
Field Details
-
JULIAN_DAY
Query for returning the Astronomical Julian Day as a double. Returns null if the temporal object does not support Julian Days.More information about the fields that must be supportd by the TemporalAccessor is available in the documenttion for
JulianDayHelper.isSupported(java.time.temporal.TemporalAccessor). -
HP_JULIAN_DAY
Query for returning the Astronomical Julian Day as a high-precision BigDecimal. Returns null if the temporal object does not support Julian Days.More information about the fields that must be supportd by the TemporalAccessor is available in the documenttion for
JulianDayHelper.isSupported(java.time.temporal.TemporalAccessor). -
DECIMAL_TIME
Query for returning the decimal time as a double. Returns null if the temporal object does not support the fieldChronoField.NANO_OF_DAY. -
HP_DECIMAL_TIME
Query for returning the decimal time as a BigDecimal. Returns null if the temporal object does not support the fieldChronoField.NANO_OF_DAY.
-