public class DateMathParser extends Object
| Modifier and Type | Method and Description |
|---|---|
static long |
calculateGapCount(String start,
String end,
String gapMath)
Returns the number of 'gaps' defined in the gapMatch string (follows the original DateMathParser syntax) that
fit in the date range defined by parameters start and end.
|
public static long calculateGapCount(String start, String end, String gapMath) throws ParseException
ParseException - if gapMath cannot be parsedCopyright © 2019 Europeana Foundation. All rights reserved.