public interface SpincastTimeZoneResolverConfig
| Modifier and Type | Method and Description |
|---|---|
String |
getPebbleTimeZoneCookieDomain()
The domain to use for the TimeZone coookie.
|
int |
getPebbleTimeZoneCookieExpiredHoursNbr()
The number of hours the timeZone cookie will
live.
|
String |
getPebbleTimeZoneCookiePath()
The path to use for the TimeZone coookie.
|
String |
getPebbleTimeZoneCookieReloadingQsParamName()
The name of the querystring parameter that
will be used is reloading the page after the
timeZone cookie is set is enabled.
|
boolean |
isRefreshPageAfterAddingPebbleTimeZoneCookie()
Should the page be refreshed once the TimeZone
cookie has been set for the first time?
|
boolean isRefreshPageAfterAddingPebbleTimeZoneCookie()
This allows you to obtain the timeZone of the user
even before rendering the very first page he visits.
Simply put {{ timeZoneCookie(true) }}
very high in the header of the page!
Defaults to true.
String getPebbleTimeZoneCookieDomain()
String getPebbleTimeZoneCookiePath()
Defaults to "/".
String getPebbleTimeZoneCookieReloadingQsParamName()
Defaults to "spincast_tz".
int getPebbleTimeZoneCookieExpiredHoursNbr()
Defaults to 10 years.
Copyright © 2018. All rights reserved.