Package | Description |
---|---|
er.chronic |
ERChronic is a nearly direct port to Java of the Ruby Chronic library.
|
er.chronic.handlers | |
er.chronic.repeaters | |
er.chronic.utils |
Modifier and Type | Method and Description |
---|---|
protected static Span |
Chronic.guess(Span span)
Guess a specific time within the given span
|
static Span |
Chronic.parse(String text) |
static Span |
Chronic.parse(String text,
Options options)
Parses a string containing a natural language date or time.
|
Modifier and Type | Method and Description |
---|---|
protected static Span |
Chronic.guess(Span span)
Guess a specific time within the given span
|
Modifier and Type | Method and Description |
---|---|
static Span |
Handler.dayOrTime(Calendar dayStart,
List<Token> timeTokens,
Options options) |
static Span |
Handler.findWithin(List<Repeater<?>> tags,
Span span,
Pointer.PointerType pointer,
Options options)
Recursively finds repeaters within other repeaters.
|
static Span |
Handler.getAnchor(List<Token> tokens,
Options options) |
Span |
SySmSdHandler.handle(List<Token> tokens,
Options options) |
Span |
SyHandler.handle(List<Token> tokens,
Options options) |
Span |
SmSyHandler.handle(List<Token> tokens,
Options options) |
Span |
SmSdSyHandler.handle(List<Token> tokens,
Options options) |
Span |
SmSdHandler.handle(List<Token> tokens,
Options options) |
Span |
SdSmSyHandler.handle(List<Token> tokens,
Options options) |
Span |
SdRmnSyHandler.handle(List<Token> tokens,
Options options) |
Span |
SRPHandler.handle(List<Token> tokens,
Options options) |
Span |
SRPAHandler.handle(List<Token> tokens,
Options options) |
Span |
RmnSyHandler.handle(List<Token> tokens,
Options options) |
Span |
RmnSdSyHandler.handle(List<Token> tokens,
Options options) |
Span |
RmnSdOnHandler.handle(List<Token> tokens,
Options options) |
Span |
RmnSdHandler.handle(List<Token> tokens,
Options options) |
Span |
RmnOdOnHandler.handle(List<Token> tokens,
Options options) |
Span |
RmnOdHandler.handle(List<Token> tokens,
Options options) |
Span |
RdnRmnSdTTzSyHandler.handle(List<Token> tokens,
Options options) |
Span |
RHandler.handle(List<Token> tokens,
Options options) |
Span |
RGRHandler.handle(List<Token> tokens,
Options options) |
Span |
PSRHandler.handle(List<Token> tokens,
Options options) |
Span |
ORSRHandler.handle(List<Token> tokens,
Options options) |
Span |
ORGRHandler.handle(List<Token> tokens,
Options options) |
Span |
IHandler.handle(List<Token> tokens,
Options options) |
Span |
DummyHandler.handle(List<Token> tokens,
Options options) |
Span |
SRPHandler.handle(List<Token> tokens,
Span span,
Options options) |
Span |
ORRHandler.handle(List<Token> tokens,
Span outerSpan,
Options options) |
Span |
MDHandler.handle(Repeater<?> month,
Tag<? extends Number> day,
List<Token> timeTokens,
Options options) |
static Span |
Handler.parseTime(List<Token> tokens,
int timeTokenOffset,
int year,
int month,
int day,
Options options) |
static Span |
Handler.tokensToSpan(List<Token> tokens,
Options options) |
Modifier and Type | Method and Description |
---|---|
static Span |
Handler.findWithin(List<Repeater<?>> tags,
Span span,
Pointer.PointerType pointer,
Options options)
Recursively finds repeaters within other repeaters.
|
Span |
SRPHandler.handle(List<Token> tokens,
Span span,
Options options) |
Span |
ORRHandler.handle(List<Token> tokens,
Span outerSpan,
Options options) |
Modifier and Type | Method and Description |
---|---|
protected Span |
RepeaterYear._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterWeekend._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterWeekday._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterWeek._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterTime._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterSecond._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterSeasonName._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterSeason._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterMonthName._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterMonth._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterMinute._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterHour._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterFortnight._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterDayPortion._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterDayName._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterDay._nextSpan(Pointer.PointerType pointer) |
protected abstract Span |
Repeater._nextSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterYear._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterWeekend._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterWeekday._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterWeek._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterTime._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterSecond._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterSeasonName._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterSeason._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterMonthName._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterMonth._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterMinute._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterHour._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterFortnight._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterDayPortion._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterDayName._thisSpan(Pointer.PointerType pointer) |
protected Span |
RepeaterDay._thisSpan(Pointer.PointerType pointer) |
protected abstract Span |
Repeater._thisSpan(Pointer.PointerType pointer) |
Span |
RepeaterYear.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterWeekend.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterWeekday.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterWeek.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterTime.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterSecond.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterSeasonName.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterSeason.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterMonthName.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterMonth.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterMinute.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterHour.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterFortnight.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterDayPortion.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterDayName.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterDay.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
abstract Span |
Repeater.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
Repeater.nextSpan(Pointer.PointerType pointer)
returns the next occurance of this repeatable.
|
Span |
Repeater.thisSpan(Pointer.PointerType pointer) |
Modifier and Type | Method and Description |
---|---|
Span |
RepeaterYear.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterWeekend.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterWeekday.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterWeek.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterTime.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterSecond.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterSeasonName.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterSeason.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterMonthName.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterMonth.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterMinute.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterHour.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterFortnight.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterDayPortion.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterDayName.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Span |
RepeaterDay.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
abstract Span |
Repeater.getOffset(Span span,
float amount,
Pointer.PointerType pointer) |
Modifier and Type | Method and Description |
---|---|
Span |
Span.add(float seconds)
Add a number of seconds to this span, returning the
resulting Span
|
Span |
Span.add(long seconds)
Add a number of seconds to this span, returning the
resulting Span
|
Span |
Span.subtract(long seconds)
Subtract a number of seconds to this span, returning the
resulting Span
|
Copyright © 2002 – 2024 Project Wonder.