Comparable<Repeater<?>>
EnumRepeaterDayPortion
, IntegerRepeaterDayPortion
public abstract class RepeaterDayPortion<T> extends Repeater<T>
Modifier and Type | Class | Description |
---|---|---|
static class |
RepeaterDayPortion.DayPortion |
Constructor | Description |
---|---|
RepeaterDayPortion(T type) |
Modifier and Type | Method | Description |
---|---|---|
protected abstract int |
_getWidth(Range range) |
|
protected Span |
_nextSpan(Pointer.PointerType pointer) |
|
protected Span |
_thisSpan(Pointer.PointerType pointer) |
|
protected abstract Range |
createRange(T type) |
|
Span |
getOffset(Span span,
int amount,
Pointer.PointerType pointer) |
|
int |
getWidth() |
returns the width (in seconds or months) of this repeatable.
|
static EnumRepeaterDayPortion |
scan(Token token) |
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public RepeaterDayPortion(T type)
protected Span _nextSpan(Pointer.PointerType pointer)
protected Span _thisSpan(Pointer.PointerType pointer)
public Span getOffset(Span span, int amount, Pointer.PointerType pointer)
public int getWidth()
Repeater
protected abstract int _getWidth(Range range)
public static EnumRepeaterDayPortion scan(Token token)
Copyright © 2018. All rights reserved.