| Package | Description |
|---|---|
| org.openl.rules.util.dates |
| Modifier and Type | Method and Description |
|---|---|
static DateInterval.Scale |
DateInterval.Scale.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateInterval.Scale[] |
DateInterval.Scale.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Double |
DateInterval.toMonths(DateInterval.Scale scale)
Calculate a difference in months.
|
abstract Double |
DateInterval.toMonthsExcludeYears(DateInterval.Scale scale)
Calculate a difference in months regarding last year.
|
abstract Double |
DateInterval.toWeeks(DateInterval.Scale scale)
Calculate a difference in weeks.
|
abstract Double |
DateInterval.toYears(DateInterval.Scale scale)
Calculate a difference in years.
|
Copyright © 2004–2019 OpenL Tablets. All rights reserved.