Package org.refcodes.time
Interface TimeAccessor
-
- All Known Subinterfaces:
TimeAccessor.TimeProperty
public interface TimeAccessorProvides an accessor for a time property.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceTimeAccessor.TimeBuilder<B extends TimeAccessor.TimeBuilder<B>>Provides a builder method for a time property returning the builder for applying multiple build operations.static interfaceTimeAccessor.TimeMutatorProvides a mutator for a time property.static interfaceTimeAccessor.TimePropertyProvides a time property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetTime(TimeUnit aTimeUnit)Retrieves the time from the time property.
-
-
-
Method Detail
-
getTime
float getTime(TimeUnit aTimeUnit)
Retrieves the time from the time property.- Parameters:
aTimeUnit- The time unit for the provided time.- Returns:
- The time stored by the time property.
-
-