com.atlassian.jira.jql.util
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
 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 Detail

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.