Project Wonder 5.0

er.chronic.repeaters
Class RepeaterSeasonName

java.lang.Object
  extended by er.chronic.tags.Tag<T>
      extended by er.chronic.repeaters.Repeater<java.lang.Object>
          extended by er.chronic.repeaters.RepeaterSeasonName
All Implemented Interfaces:
java.lang.Comparable<Repeater<?>>

public class RepeaterSeasonName
extends Repeater<java.lang.Object>


Nested Class Summary
static class RepeaterSeasonName.SeasonName
           
 
Field Summary
static java.util.regex.Pattern AUTUMN_PATTERN
           
static java.util.regex.Pattern SPRING_PATTERN
           
static java.util.regex.Pattern SUMMER_PATTERN
           
static java.util.regex.Pattern WINTER_PATTERN
           
 
Constructor Summary
RepeaterSeasonName(java.lang.Object type)
           
 
Method Summary
protected  Span _nextSpan(Pointer.PointerType pointer)
           
protected  Span _thisSpan(Pointer.PointerType pointer)
           
 Span getOffset(Span span, float amount, Pointer.PointerType pointer)
           
 int getWidth()
          returns the width (in seconds or months) of this repeatable.
static RepeaterSeasonName scan(Token token)
           
 java.lang.String toString()
           
 
Methods inherited from class er.chronic.repeaters.Repeater
compareTo, nextSpan, scan, scan, thisSpan
 
Methods inherited from class er.chronic.tags.Tag
getNow, getType, setStart, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SPRING_PATTERN

public static java.util.regex.Pattern SPRING_PATTERN

SUMMER_PATTERN

public static java.util.regex.Pattern SUMMER_PATTERN

AUTUMN_PATTERN

public static java.util.regex.Pattern AUTUMN_PATTERN

WINTER_PATTERN

public static java.util.regex.Pattern WINTER_PATTERN
Constructor Detail

RepeaterSeasonName

public RepeaterSeasonName(java.lang.Object type)
Method Detail

_nextSpan

protected Span _nextSpan(Pointer.PointerType pointer)
Specified by:
_nextSpan in class Repeater<java.lang.Object>

_thisSpan

protected Span _thisSpan(Pointer.PointerType pointer)
Specified by:
_thisSpan in class Repeater<java.lang.Object>

getOffset

public Span getOffset(Span span,
                      float amount,
                      Pointer.PointerType pointer)
Specified by:
getOffset in class Repeater<java.lang.Object>

getWidth

public int getWidth()
Description copied from class: Repeater
returns the width (in seconds or months) of this repeatable.

Specified by:
getWidth in class Repeater<java.lang.Object>

toString

public java.lang.String toString()
Overrides:
toString in class Repeater<java.lang.Object>

scan

public static RepeaterSeasonName scan(Token token)

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.