org.goda.chronic.repeaters
public abstract class Repeater<T> extends Tag<T> implements Comparable<Repeater<?>>
Tag.Scanner| Modifier and Type | Field and Description |
|---|---|
static Tag.Scanner |
SCANNER |
| Modifier and Type | Method and Description |
|---|---|
protected abstract MutableInterval |
_nextMutableInterval(Pointer.PointerType pointer) |
protected abstract MutableInterval |
_thisMutableInterval(Pointer.PointerType pointer) |
int |
compareTo(Repeater<?> other) |
abstract MutableInterval |
getOffset(MutableInterval MutableInterval,
double amount,
Pointer.PointerType pointer) |
abstract int |
getWidth()
returns the width (in seconds or months) of this repeatable.
|
MutableInterval |
nextMutableInterval(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) |
MutableInterval |
thisMutableInterval(Pointer.PointerType pointer) |
String |
toString() |
public static final Tag.Scanner SCANNER
public Repeater(T type)
public int compareTo(Repeater<?> other)
compareTo in interface Comparable<Repeater<?>>public abstract int getWidth()
public MutableInterval nextMutableInterval(Pointer.PointerType pointer)
protected abstract MutableInterval _nextMutableInterval(Pointer.PointerType pointer)
public MutableInterval thisMutableInterval(Pointer.PointerType pointer)
protected abstract MutableInterval _thisMutableInterval(Pointer.PointerType pointer)
public abstract MutableInterval getOffset(MutableInterval MutableInterval, double amount, Pointer.PointerType pointer)
Copyright © 2013 os-cillation GmbH. All rights reserved.