Interface TimeZoneManager

All Known Implementing Classes:
TimeZoneManagerImpl

public interface TimeZoneManager
The TimeZoneManager can be used to retrieve the time zone of a user or the logged in user.
Since:
v4.4
  • Method Details

    • getLoggedInUserTimeZone

      TimeZone getLoggedInUserTimeZone()
      Return the time zone of the user who is currently logged in.
      Returns:
      the time zone.
    • getTimeZoneforUser

      TimeZone getTimeZoneforUser(@Nullable ApplicationUser user)
      Return the time zone of a user who is currently logged in.
      Parameters:
      user - a user.
      Returns:
      the time zone.
    • getDefaultTimezone

      TimeZone getDefaultTimezone()
      Returns:
      default system time zone.