PeriodKt

public final class PeriodKt


Summary

Public methods

static final @NonNull Period

Builds a new Period.

Public methods

period

public static final @NonNull Period period(
    @ExtensionFunctionType @NonNull Function1<@NonNull Period.BuilderUnit> actions
)

Builds a new Period.

Parameters
@ExtensionFunctionType @NonNull Function1<@NonNull Period.BuilderUnit> actions

the actions to apply to the Period.Builder

Returns
@NonNull Period

the constructed Period