public final class TimezoneUtil extends Object
Constructor and Description |
---|
TimezoneUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getTimeZoneInfo(info.magnolia.cms.security.User user,
int style)
Render short or long info string for current time zone of the form:
info (zoneId)
|
static Locale |
getUserLocale(info.magnolia.cms.security.User user) |
static TimeZone |
getUserTimezone(info.magnolia.cms.security.User user) |
static ZoneId |
getUserZoneId(info.magnolia.cms.security.User user) |
public static Locale getUserLocale(info.magnolia.cms.security.User user)
public static ZoneId getUserZoneId(info.magnolia.cms.security.User user)
public static TimeZone getUserTimezone(info.magnolia.cms.security.User user)
public static String getTimeZoneInfo(info.magnolia.cms.security.User user, int style)
Copyright © 2021 Magnolia International Ltd.. All rights reserved.