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
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumAvailable 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.Unitto use. By default,TimeResultParameter.Unit.MINUTESis used.- Returns:
- itself
-