| Package | Description |
|---|---|
| io.rapidpro.expressions.dates |
| Modifier and Type | Method and Description |
|---|---|
static DateParser.Mode |
DateParser.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateParser.Mode[] |
DateParser.Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected static List<DateParser.Component[]> |
DateParser.getPossibleSequences(DateParser.Mode mode,
int length,
DateStyle dateStyle)
Gets possible component sequences in the given mode
|
protected static Map<DateParser.Component,Integer> |
DateParser.getTokenPossibilities(String token,
DateParser.Mode mode)
Returns all possible component types of a token without regard to its context.
|
protected org.threeten.bp.temporal.Temporal |
DateParser.parse(String text,
DateParser.Mode mode)
Returns a date, datetime or time depending on what information is available
|
Copyright © 2016. All rights reserved.