configure

Configures global Verdandi settings.

This allows you to set default values that will be used throughout the library when not explicitly specified. Configuration changes are thread-safe but should ideally be done once at application startup.

Verdandi.configure {
defaultTimeZone = VerdandiTimeZone.UTC
defaultWeekStart = WeekStart.Sunday
}

Available Settings

  • defaultTimeZone: The default timezone to use when not explicitly specified. If null, the system timezone will be used.

  • defaultWeekStart: The default first day of the week for week-based operations. Defaults to Monday.

Parameters

block

configuration block applied within a VerdandiConfigurationScope.