Comparable<Repeater<?>>RepeaterDayName, RepeaterDayPortion, RepeaterMonthName, RepeaterSeasonName, RepeaterTime, RepeaterUnitpublic abstract class Repeater<T> extends Tag<T> implements Comparable<Repeater<?>>
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract Span |
_nextSpan(Pointer.PointerType pointer) |
|
protected abstract Span |
_thisSpan(Pointer.PointerType pointer) |
|
int |
compareTo(Repeater<?> other) |
|
abstract Span |
getOffset(Span span,
int amount,
Pointer.PointerType pointer) |
|
abstract int |
getWidth() |
returns the width (in seconds or months) of this repeatable.
|
Span |
nextSpan(Pointer.PointerType pointer) |
returns the next occurance of this repeatable.
|
static List<Token> |
scan(List<Token> tokens) |
|
static List<Token> |
scan(List<Token> tokens,
Options options) |
|
Span |
thisSpan(Pointer.PointerType pointer) |
|
String |
toString() |
public Repeater(T type)
public int compareTo(Repeater<?> other)
compareTo in interface Comparable<T>public abstract int getWidth()
public Span nextSpan(Pointer.PointerType pointer)
protected abstract Span _nextSpan(Pointer.PointerType pointer)
public Span thisSpan(Pointer.PointerType pointer)
protected abstract Span _thisSpan(Pointer.PointerType pointer)
public abstract Span getOffset(Span span, int amount, Pointer.PointerType pointer)
Copyright © 2018. All rights reserved.