Interface TimeAccessor.TimeBuilder<B extends TimeAccessor.TimeBuilder<B>>

  • Type Parameters:
    B - The builder to return in order to be able to apply multiple build operations.
    Enclosing interface:
    TimeAccessor

    public 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.
    • Method Detail

      • withTime

        B withTime​(float aTime,
                   TimeUnit aTimeUnit)
        Sets the time for the time property.
        Parameters:
        aTime - The time to be stored by the time property.
        aTimeUnit - The time unit for the provided time.
        Returns:
        The builder for applying multiple build operations.