BetaPrivateconstructorThe name that represents this world clock. Must have a namespace and use only valid identifier characters. (e.g., 'mypack:my_clock').
OptionalregistrationOptions: WorldClockRegistrationOptionsAdditional options for registering a world clock, such as including time markers at registration time.
early-execution-allowed - This function can be called in early-execution mode.
This function can throw errors.
WorldClockInvalidRegistryError
Provides the functionality for registering custom world clocks. World clocks can only be registered during the system startup event.
Source