Package com.atlassian.bitbucket.timezone
Interface UserTimeZoneSupplier
- All Known Subinterfaces:
TimeZoneService
public interface UserTimeZoneSupplier
Provides access to a user's time zone.
- Since:
- 4.6
-
Method Summary
-
Method Details
-
getTimeZone
- Returns:
- the time zone for the current user. Always returns a time zone. Will fall back to a default time zone if necessary.
-
getTimeZone
- Parameters:
user
- the user for which to find the time zone. Can benull
for the anonymous user.- Returns:
- the time zone for the passed user. Always returns a time zone. Will fall back to a default time zone if necessary.
-