org.jfree.formula.function.datetime
Class DateDifFunction
java.lang.Objectorg.jfree.formula.function.datetime.DateDifFunction
- Function, Serializable
This function returns the number of years, months, or days between two date
numbers.
The Format is a code from the following table, entered as text, that
specifies the format you want:
| format | Returns the
number of |
|---|
| y | Years |
| m | Months. If there is not a complete month between the dates, 0 will be
returned. |
| d | Days |
| md | Days, ignoring months and years |
| ym | Months,
ignoring years |
| yd | Days, ignoring years |
| |
DAYS_CODE
public static final String DAYS_CODE