public interface

JqlTimetrackingDurationSupport

implements IndexValueConverter
com.atlassian.jira.jql.util.JqlTimetrackingDurationSupport
Known Indirect Subclasses

Class Overview

Interface for assisting in the parsing of duration values

Summary

Public Methods
boolean validate(String durationString)
Check to see if the passed string is a valid duration according to JQL.
[Expand]
Inherited Methods
From interface com.atlassian.jira.jql.util.IndexValueConverter

Public Methods

public 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