|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use InvalidDurationException | |
|---|---|
| com.atlassian.core.util | |
| Uses of InvalidDurationException in com.atlassian.core.util |
|---|
| Methods in com.atlassian.core.util that throw InvalidDurationException | |
|---|---|
static long |
DateUtils.getDuration(String durationStr)
Given a duration string, get the number of minutes it represents (all case insensitive): w = weeks d = days h = hours m = minutes If no category is specified, assume minutes. Each field must be separated by a space, and they can come in any order. |
static long |
DateUtils.getDuration(String durationStr,
int hoursPerDay,
int daysPerWeek)
This function retrieves a duration in seconds that depends on number of hours in a day and days in a week |
static long |
DateUtils.getDurationWithNegative(String durationStr)
Get a duration string with the possibility of a negative. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||