Interface TimeZoneProvider


@NonNullByDefault public interface TimeZoneProvider
This interface describes a provider for time zone.
Author:
Erdoan Hadzhiyusein - Initial contribution
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the configured time zone as ZoneId or the system default time zone if not configured properly.
  • Method Details

    • getTimeZone

      ZoneId getTimeZone()
      Gets the configured time zone as ZoneId or the system default time zone if not configured properly.
      Returns:
      the configured time zone as ZoneId or the system default time zone if not configured properly.