Interface TimeResultParameter<T>
- Type Parameters:
T
- Type of the final builder
- All Known Subinterfaces:
MoonPhase.Parameters
,MoonTimes.Parameters
,SunTimes.Parameters
- All Known Implementing Classes:
BaseBuilder
public interface TimeResultParameter<T>
Result time based parameters.
Use them to give information about the desired quality of the result.
- Since:
- 2.3
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Available chrono units. -
Method Summary
Modifier and TypeMethodDescriptionTime unit to truncate the result to.
-
Method Details
-
truncatedTo
Time unit to truncate the result to.- Parameters:
unit
-TimeResultParameter.Unit
to use. By default,TimeResultParameter.Unit.MINUTES
is used.- Returns:
- itself
-