Interface JqlTimetrackingDurationSupport

All Superinterfaces:
IndexValueConverter
All Known Implementing Classes:
JqlTimetrackingDurationSupportImpl

public interface JqlTimetrackingDurationSupport extends IndexValueConverter
Interface for assisting in the parsing of duration values
Since:
v4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    validate(String durationString)
    Check to see if the passed string is a valid duration according to JQL.

    Methods inherited from interface com.atlassian.jira.jql.util.IndexValueConverter

    convertToIndexValue
  • Method Details

    • validate

      boolean validate(String durationString)
      Check to see if the passed string is a valid duration according to JQL.
      Parameters:
      durationString - the string to check; cannot be null.
      Returns:
      true if the date is valid; false otherwise.
      Throws:
      IllegalArgumentException - if the passed durationString is blank or null