Class DeviceTimeZoneProviderImpl

java.lang.Object
io.jmix.securityflowui.security.DeviceTimeZoneProviderImpl
All Implemented Interfaces:
DeviceTimeZoneProvider

@Component("sec_DeviceTimeZoneProviderImpl") public class DeviceTimeZoneProviderImpl extends Object implements DeviceTimeZoneProvider
  • Field Details

  • Constructor Details

  • Method Details

    • getDeviceTimeZone

      public TimeZone getDeviceTimeZone()
      Specified by:
      getDeviceTimeZone in interface DeviceTimeZoneProvider
      Returns:
      time zone provided by the device (e.g. by the browser if the browser supports this feature), null otherwise
    • detectTimeZone

      protected TimeZone detectTimeZone(com.vaadin.flow.component.page.ExtendedClientDetails details)