Package io.jmix.securityflowui.security
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 Summary
-
Constructor Summary
ConstructorDescriptionDeviceTimeZoneProviderImpl
(ExtendedClientDetailsProvider clientDetailsProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected TimeZone
detectTimeZone
(com.vaadin.flow.component.page.ExtendedClientDetails details)
-
Field Details
-
clientDetailsProvider
-
-
Constructor Details
-
DeviceTimeZoneProviderImpl
-
-
Method Details
-
getDeviceTimeZone
- Specified by:
getDeviceTimeZone
in interfaceDeviceTimeZoneProvider
- Returns:
- time zone provided by the device (e.g. by the browser if the browser supports this feature),
null
otherwise
-
detectTimeZone
-