Class JiraVelocityUtils.LazyCalendar

java.lang.Object
com.atlassian.jira.util.JiraVelocityUtils.LazyCalendar
Enclosing class:
JiraVelocityUtils

public static class JiraVelocityUtils.LazyCalendar extends Object
  • Method Details

    • getFirstDayOfWeek

      public int getFirstDayOfWeek()
    • isUseISO8601

      public boolean isUseISO8601()
    • getNowInCurrentUsersTimezone

      public String getNowInCurrentUsersTimezone()
      This method returns YYYY/MM/dd HH:mm:ss string for logged in user using English locale. This date-time format is safe to be parsed on all versions of Chrome, Firefox and IE. The date is the current date-time of the logged in user as per timezone configured in that user's profile. It should be used to initialise both date-only and date-time fields.
      Returns:
      current date-time for logged in user.