| Package | Description |
|---|---|
| io.rapidpro.expressions.dates |
| Modifier and Type | Field and Description |
|---|---|
protected static DateParser.Component[][] |
DateParser.DATE_SEQUENCES_DAY_FIRST |
protected static DateParser.Component[][] |
DateParser.DATE_SEQUENCES_MONTH_FIRST |
protected static DateParser.Component[][] |
DateParser.TIME_SEQUENCES |
| Modifier and Type | Method and Description |
|---|---|
static DateParser.Component |
DateParser.Component.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateParser.Component[] |
DateParser.Component.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 Map<DateParser.Component,Integer> |
DateParser.getTokenPossibilities(String token,
DateParser.Mode mode)
Returns all possible component types of a token without regard to its context.
|
| Modifier and Type | Method and Description |
|---|---|
protected static org.threeten.bp.temporal.Temporal |
DateParser.makeResult(Map<DateParser.Component,Integer> values,
org.threeten.bp.LocalDate now,
org.threeten.bp.ZoneId timezone)
Makes a date or datetime or time object from a map of component values
|
Copyright © 2018. All rights reserved.