Package hudson.model

Class TimeZoneProperty

java.lang.Object
hudson.model.UserProperty
hudson.model.TimeZoneProperty
All Implemented Interfaces:
ExtensionPoint, Describable<UserProperty>, ReconfigurableDescribable<UserProperty>

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class TimeZoneProperty extends UserProperty
A UserProperty that allows a user to specify a time zone for displaying time.
  • Constructor Details

    • TimeZoneProperty

      @DataBoundConstructor public TimeZoneProperty(@CheckForNull String timeZoneName)
  • Method Details

    • setTimeZoneName

      public void setTimeZoneName(@CheckForNull String timeZoneName)
    • getTimeZoneName

      @CheckForNull public String getTimeZoneName()
    • forCurrentUser

      @CheckForNull public static String forCurrentUser()