OpeningHoursKt

public final class OpeningHoursKt


Summary

Public methods

static final @NonNull OpeningHours

Builds a new OpeningHours.

Public methods

openingHours

public static final @NonNull OpeningHours openingHours(
    @ExtensionFunctionType @NonNull Function1<@NonNull OpeningHours.BuilderUnit> actions
)

Builds a new OpeningHours.

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

the actions to apply to the OpeningHours.Builder

Returns
@NonNull OpeningHours

the constructed OpeningHours