Package org.refcodes.time
Interface TimeAccessor
-
- All Known Subinterfaces:
TimeAccessor.TimeProperty
public interface TimeAccessor
Provides an accessor for a time property.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
TimeAccessor.TimeBuilder<B extends TimeAccessor.TimeBuilder<B>>
Provides a builder method for a time property returning the builder for applying multiple build operations.static interface
TimeAccessor.TimeMutator
Provides a mutator for a time property.static interface
TimeAccessor.TimeProperty
Provides a time property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getTime(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.
-
-