SpecialDayKt

public final class SpecialDayKt


Summary

Public methods

static final @NonNull SpecialDay
specialDay(
    @NonNull LocalDate date,
    @ExtensionFunctionType Function1<@NonNull SpecialDay.BuilderUnit> actions
)

Builds a new SpecialDay.

Public methods

specialDay

public static final @NonNull SpecialDay specialDay(
    @NonNull LocalDate date,
    @ExtensionFunctionType Function1<@NonNull SpecialDay.BuilderUnit> actions
)

Builds a new SpecialDay.

Parameters
@NonNull LocalDate date

the LocalDate for which there may be exceptional hours

@ExtensionFunctionType Function1<@NonNull SpecialDay.BuilderUnit> actions

the actions to apply to the SpecialDay.Builder

Returns
@NonNull SpecialDay

the constructed SpecialDay