A B C D E F G H I J K L M N O P Q R S T U V W Y 
All Classes All Packages

A

add(Nth) - Method in class ch.poole.openinghoursparser.WeekDayRange
Add a occurrence in the month for a week day
addEscapes(String) - Static method in error ch.poole.openinghoursparser.TokenMgrError
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
adjustBeginLineColumn(int, int) - Method in class ch.poole.openinghoursparser.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
ALWAYS - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
AM - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
ampm() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
APR - ch.poole.openinghoursparser.Month
 
AUG - ch.poole.openinghoursparser.Month
 

B

backup(int) - Method in class ch.poole.openinghoursparser.SimpleCharStream
Backup a number of characters.
beginColumn - Variable in class ch.poole.openinghoursparser.Token
The column number of the first character of this Token.
beginLine - Variable in class ch.poole.openinghoursparser.Token
The line number of the first character of this Token.
BeginToken() - Method in class ch.poole.openinghoursparser.SimpleCharStream
Start.
BRACKET_LEFT - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
BRACKET_RIGHT - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
bufcolumn - Variable in class ch.poole.openinghoursparser.SimpleCharStream
 
buffer - Variable in class ch.poole.openinghoursparser.SimpleCharStream
 
bufline - Variable in class ch.poole.openinghoursparser.SimpleCharStream
 
bufpos - Variable in class ch.poole.openinghoursparser.SimpleCharStream
Position in buffer.

C

capitalize(String) - Static method in class ch.poole.openinghoursparser.Util
Capitalize a string
ch.poole.openinghoursparser - package ch.poole.openinghoursparser
 
CHAR - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
CLOSED - ch.poole.openinghoursparser.RuleModifier.Modifier
 
COLON - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
column - Variable in class ch.poole.openinghoursparser.SimpleCharStream
 
COMMA - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
comment() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
Match a comment.
COMMENT_STATE - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
Lexical state.
copy() - Method in interface ch.poole.openinghoursparser.Copy
Create a copy of the objecz
copy() - Method in class ch.poole.openinghoursparser.DateRange
 
copy() - Method in class ch.poole.openinghoursparser.DateWithOffset
 
copy() - Method in class ch.poole.openinghoursparser.Holiday
 
copy() - Method in class ch.poole.openinghoursparser.Nth
 
copy() - Method in class ch.poole.openinghoursparser.Rule
 
copy() - Method in class ch.poole.openinghoursparser.RuleModifier
 
copy() - Method in class ch.poole.openinghoursparser.TimeSpan
 
copy() - Method in class ch.poole.openinghoursparser.VariableTime
 
copy() - Method in class ch.poole.openinghoursparser.WeekDayRange
 
copy() - Method in class ch.poole.openinghoursparser.WeekRange
 
copy() - Method in class ch.poole.openinghoursparser.YearRange
 
Copy<T> - Interface in ch.poole.openinghoursparser
 
curChar - Variable in class ch.poole.openinghoursparser.OpeningHoursParserTokenManager
 
currentToken - Variable in exception ch.poole.openinghoursparser.ParseException
This is the last token that has been consumed successfully.

D

date_range() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
date_selector() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
DateRange - Class in ch.poole.openinghoursparser
Container for objects from the opening_hours specification
DateRange() - Constructor for class ch.poole.openinghoursparser.DateRange
Default constructor
DateRange(DateRange) - Constructor for class ch.poole.openinghoursparser.DateRange
Construct a new DateRange with the same content
datewithoffset(boolean) - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
DateWithOffset - Class in ch.poole.openinghoursparser
Container for objects from the opening_hours specification
DateWithOffset() - Constructor for class ch.poole.openinghoursparser.DateWithOffset
Default constructor
DateWithOffset(DateWithOffset) - Constructor for class ch.poole.openinghoursparser.DateWithOffset
Construct a new DateWithOffset with the same content
DAWN - ch.poole.openinghoursparser.Event
 
daynum() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
DAYS - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
debugStream - Variable in class ch.poole.openinghoursparser.OpeningHoursParserTokenManager
Debug output.
DEC - ch.poole.openinghoursparser.Month
 
DEFAULT - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
Lexical state.
deWeekDays2En(String) - Static method in class ch.poole.openinghoursparser.Util
Convert two letter German weekdays to our standard
DIGIT - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
disable_tracing() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
Disable tracing.
Done() - Method in class ch.poole.openinghoursparser.SimpleCharStream
Reset buffer when finished.
DUSK - ch.poole.openinghoursparser.Event
 

E

EASTER - ch.poole.openinghoursparser.VarDate
 
enable_tracing() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
Enable tracing.
endColumn - Variable in class ch.poole.openinghoursparser.Token
The column number of the last character of this Token.
endLine - Variable in class ch.poole.openinghoursparser.Token
The line number of the last character of this Token.
ENDQUOTE - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
EOF - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
End of File.
eol - Variable in exception ch.poole.openinghoursparser.ParseException
The end of line string for this machine.
equals(Object) - Method in class ch.poole.openinghoursparser.DateRange
 
equals(Object) - Method in class ch.poole.openinghoursparser.DateWithOffset
 
equals(Object) - Method in class ch.poole.openinghoursparser.Holiday
 
equals(Object) - Method in class ch.poole.openinghoursparser.Nth
 
equals(Object) - Method in class ch.poole.openinghoursparser.Rule
 
equals(Object) - Method in class ch.poole.openinghoursparser.RuleModifier
 
equals(Object) - Method in class ch.poole.openinghoursparser.TimeSpan
 
equals(Object) - Method in class ch.poole.openinghoursparser.VariableTime
 
equals(Object) - Method in class ch.poole.openinghoursparser.WeekDayRange
 
equals(Object) - Method in class ch.poole.openinghoursparser.WeekRange
 
equals(Object) - Method in class ch.poole.openinghoursparser.YearRange
 
equals(Object, Object) - Static method in class ch.poole.openinghoursparser.Util
Returns true if the arguments are equal to each other and false otherwise.
Event - Enum in ch.poole.openinghoursparser
Container for objects from the opening_hours specification
EVENTS - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
ExpandBuff(boolean) - Method in class ch.poole.openinghoursparser.SimpleCharStream
 
expectedTokenSequences - Variable in exception ch.poole.openinghoursparser.ParseException
Each entry in this array is an array of integers.
extendedtime() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
returns the total number of minutes for a time of the form hh:00 or just hh with hh up to 48

F

FALLBACKSEPERATOR - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
FEB - ch.poole.openinghoursparser.Month
 
FillBuff() - Method in class ch.poole.openinghoursparser.SimpleCharStream
 
FIRST_VALID_YEAR - Static variable in class ch.poole.openinghoursparser.YearRange
 
FR - ch.poole.openinghoursparser.WeekDay
 

G

generateParseException() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
Generate ParseException.
getAfterWeekDays() - Method in class ch.poole.openinghoursparser.Holiday
Check if the holiday was originally after the week days
getBeginColumn() - Method in class ch.poole.openinghoursparser.SimpleCharStream
Get token beginning column number.
getBeginLine() - Method in class ch.poole.openinghoursparser.SimpleCharStream
Get token beginning line number.
getChar(StringBuilder) - Method in class ch.poole.openinghoursparser.OpeningHoursParser
Match char inside quoted string.
getColumn() - Method in exception ch.poole.openinghoursparser.OpeningHoursParseException
Returns the column number
getColumn() - Method in class ch.poole.openinghoursparser.SimpleCharStream
Deprecated.
getComment() - Method in class ch.poole.openinghoursparser.Rule
 
getComment() - Method in class ch.poole.openinghoursparser.RuleModifier
 
getDates() - Method in class ch.poole.openinghoursparser.Rule
Get a List of DateRange objects
getDay() - Method in class ch.poole.openinghoursparser.DateWithOffset
 
getDayOffset() - Method in class ch.poole.openinghoursparser.DateWithOffset
 
getDays() - Method in class ch.poole.openinghoursparser.Rule
Get a List of WeekDayRange objects
getEnd() - Method in class ch.poole.openinghoursparser.TimeSpan
 
getEndColumn() - Method in class ch.poole.openinghoursparser.SimpleCharStream
Get token end column number.
getEndDate() - Method in class ch.poole.openinghoursparser.DateRange
Get the end date of the range
getEndDay() - Method in class ch.poole.openinghoursparser.WeekDayRange
 
getEndEvent() - Method in class ch.poole.openinghoursparser.TimeSpan
 
getEndLine() - Method in class ch.poole.openinghoursparser.SimpleCharStream
Get token end line number.
getEndNth() - Method in class ch.poole.openinghoursparser.Nth
 
getEndWeek() - Method in class ch.poole.openinghoursparser.WeekRange
 
getEndYear() - Method in class ch.poole.openinghoursparser.YearRange
 
getEvent() - Method in class ch.poole.openinghoursparser.VariableTime
 
getExceptions() - Method in exception ch.poole.openinghoursparser.OpeningHoursParseException
Get a list of the exceptions that caused this to be thrown
getHolidays() - Method in class ch.poole.openinghoursparser.Rule
Get a List of Holiday objects
GetImage() - Method in class ch.poole.openinghoursparser.SimpleCharStream
Get token literal value.
getInterval() - Method in class ch.poole.openinghoursparser.DateRange
Get the interval for the date range Note: currently the opening hours specification is quiet on what units this is supposed to be in
getInterval() - Method in class ch.poole.openinghoursparser.TimeSpan
 
getInterval() - Method in class ch.poole.openinghoursparser.WeekRange
 
getInterval() - Method in class ch.poole.openinghoursparser.YearRange
 
getLine() - Method in exception ch.poole.openinghoursparser.OpeningHoursParseException
Returns the line number
getLine() - Method in class ch.poole.openinghoursparser.SimpleCharStream
Deprecated.
getMergeableRules(List<Rule>) - Static method in class ch.poole.openinghoursparser.Util
find rules that only differs in the days and times objects and can be merged for display puposes
getMessage() - Method in exception ch.poole.openinghoursparser.OpeningHoursParseException
 
getMessage() - Method in error ch.poole.openinghoursparser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getModifier() - Method in class ch.poole.openinghoursparser.Rule
Get the RuleModifier
getModifier() - Method in class ch.poole.openinghoursparser.RuleModifier
 
getMonth() - Method in class ch.poole.openinghoursparser.DateWithOffset
 
getNextToken() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
Get the next Token.
getNextToken() - Method in class ch.poole.openinghoursparser.OpeningHoursParserTokenManager
Get the next Token.
getNth() - Method in class ch.poole.openinghoursparser.DateWithOffset
Get the occurrence value for date specification via occurrence in month
getNths() - Method in class ch.poole.openinghoursparser.WeekDayRange
 
getNthWeekDay() - Method in class ch.poole.openinghoursparser.DateWithOffset
Get the WeekDay for date specification via occurrence in month
getOffset() - Method in class ch.poole.openinghoursparser.Holiday
 
getOffset() - Method in class ch.poole.openinghoursparser.VariableTime
 
getOffset() - Method in class ch.poole.openinghoursparser.WeekDayRange
 
getStart() - Method in class ch.poole.openinghoursparser.TimeSpan
 
getStartDate() - Method in class ch.poole.openinghoursparser.DateRange
Get the start date of the range
getStartDay() - Method in class ch.poole.openinghoursparser.WeekDayRange
 
getStartEvent() - Method in class ch.poole.openinghoursparser.TimeSpan
 
getStartNth() - Method in class ch.poole.openinghoursparser.Nth
 
getStartWeek() - Method in class ch.poole.openinghoursparser.WeekRange
 
getStartYear() - Method in class ch.poole.openinghoursparser.YearRange
 
GetSuffix(int) - Method in class ch.poole.openinghoursparser.SimpleCharStream
Get the suffix.
getTabSize(int) - Method in class ch.poole.openinghoursparser.SimpleCharStream
 
getTimes() - Method in class ch.poole.openinghoursparser.Rule
Get a List of TimeSpan objects
getToken(int) - Method in class ch.poole.openinghoursparser.OpeningHoursParser
Get the specific Token.
getType() - Method in class ch.poole.openinghoursparser.Holiday
 
getUseAsWeekDay() - Method in class ch.poole.openinghoursparser.Holiday
Get the the "use as weekday" value
getValue() - Method in class ch.poole.openinghoursparser.Token
An optional attribute value of the Token.
getValue(String) - Static method in enum ch.poole.openinghoursparser.Event
Get the Event value for a String
getValue(String) - Static method in enum ch.poole.openinghoursparser.Month
Get the Month value for a String
getValue(String) - Static method in enum ch.poole.openinghoursparser.RuleModifier.Modifier
Get the Modifier value for a String
getValue(String) - Static method in enum ch.poole.openinghoursparser.VarDate
Get the VarDate value for a String
getValue(String) - Static method in enum ch.poole.openinghoursparser.WeekDay
Get the WeekDay value for a String
getVarDate() - Method in class ch.poole.openinghoursparser.DateWithOffset
 
getWeekDayOffset() - Method in class ch.poole.openinghoursparser.DateWithOffset
 
getWeeks() - Method in class ch.poole.openinghoursparser.Rule
Get a List of WeekRange objects
getYear() - Method in class ch.poole.openinghoursparser.DateWithOffset
 
getYears() - Method in class ch.poole.openinghoursparser.Rule
Get a List of YearRange objects

H

H - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
hashCode() - Method in class ch.poole.openinghoursparser.DateRange
 
hashCode() - Method in class ch.poole.openinghoursparser.DateWithOffset
 
hashCode() - Method in class ch.poole.openinghoursparser.Holiday
 
hashCode() - Method in class ch.poole.openinghoursparser.Nth
 
hashCode() - Method in class ch.poole.openinghoursparser.Rule
 
hashCode() - Method in class ch.poole.openinghoursparser.RuleModifier
 
hashCode() - Method in class ch.poole.openinghoursparser.TimeSpan
 
hashCode() - Method in class ch.poole.openinghoursparser.VariableTime
 
hashCode() - Method in class ch.poole.openinghoursparser.WeekDayRange
 
hashCode() - Method in class ch.poole.openinghoursparser.WeekRange
 
hashCode() - Method in class ch.poole.openinghoursparser.YearRange
 
holiday() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
Holiday - Class in ch.poole.openinghoursparser
Container for objects from the opening_hours specification
Holiday() - Constructor for class ch.poole.openinghoursparser.Holiday
Default constructor
Holiday(Holiday) - Constructor for class ch.poole.openinghoursparser.Holiday
Construct a new Holiday with the same content
holiday_sequence() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
Holiday.Type - Enum in ch.poole.openinghoursparser
 
HOLIDAYS - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
hours() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
returns a number Token if between 0 and 24 uses semantic lookahead
HYPHEN - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.

I

I18n - Class in ch.poole.openinghoursparser
Translation support for OpeningHoursParser
image - Variable in class ch.poole.openinghoursparser.Token
The string image of the token.
inBuf - Variable in class ch.poole.openinghoursparser.SimpleCharStream
 
input_stream - Variable in class ch.poole.openinghoursparser.OpeningHoursParserTokenManager
 
inputStream - Variable in class ch.poole.openinghoursparser.SimpleCharStream
 
interval() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
INVALID_NTH - Static variable in class ch.poole.openinghoursparser.Nth
 
isAdditive() - Method in class ch.poole.openinghoursparser.Rule
 
isEmpty() - Method in class ch.poole.openinghoursparser.Rule
Check if this rule actually contains something
isFallBack() - Method in class ch.poole.openinghoursparser.Rule
 
isMergeableWith(Rule) - Method in class ch.poole.openinghoursparser.Rule
Returns true if the input only differs in the days and times objects Current considers comments significant
isOpenEnded() - Method in class ch.poole.openinghoursparser.DateWithOffset
Check if this is open ended
isOpenEnded() - Method in class ch.poole.openinghoursparser.TimeSpan
 
isOpenEnded() - Method in class ch.poole.openinghoursparser.YearRange
Check if this is open ended
isTwentyfourseven() - Method in class ch.poole.openinghoursparser.Rule
 
isWeekDayOffsetPositive() - Method in class ch.poole.openinghoursparser.DateWithOffset
 

J

JAN - ch.poole.openinghoursparser.Month
 
jj_nt - Variable in class ch.poole.openinghoursparser.OpeningHoursParser
Next token.
jjFillToken() - Method in class ch.poole.openinghoursparser.OpeningHoursParserTokenManager
 
jjnewLexState - Static variable in class ch.poole.openinghoursparser.OpeningHoursParserTokenManager
Lex State array.
jjstrLiteralImages - Static variable in class ch.poole.openinghoursparser.OpeningHoursParserTokenManager
Token literal values.
JUL - ch.poole.openinghoursparser.Month
 
JUN - ch.poole.openinghoursparser.Month
 

K

kind - Variable in class ch.poole.openinghoursparser.Token
An integer that describes the kind of this token.

L

lastDay(int, Month) - Static method in enum ch.poole.openinghoursparser.Month
Return the last day of the month
LexicalError(boolean, int, int, int, String, char) - Static method in error ch.poole.openinghoursparser.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - Static variable in class ch.poole.openinghoursparser.OpeningHoursParserTokenManager
Lexer state names.
line - Variable in class ch.poole.openinghoursparser.SimpleCharStream
 

M

MAR - ch.poole.openinghoursparser.Month
 
MAX_EXTENDED_TIME - Static variable in class ch.poole.openinghoursparser.TimeSpan
 
MAX_MONTH_DAY - Static variable in class ch.poole.openinghoursparser.DateWithOffset
 
MAX_TIME - Static variable in class ch.poole.openinghoursparser.TimeSpan
 
MAX_WEEK - Static variable in class ch.poole.openinghoursparser.WeekRange
 
maxNextCharInd - Variable in class ch.poole.openinghoursparser.SimpleCharStream
 
MAY - ch.poole.openinghoursparser.Month
 
MIN_MONTH_DAY - Static variable in class ch.poole.openinghoursparser.DateWithOffset
 
MIN_TIME - Static variable in class ch.poole.openinghoursparser.TimeSpan
 
MIN_WEEK - Static variable in class ch.poole.openinghoursparser.WeekRange
 
minutes() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
returns a number Token if between 0 and 59 and starts with a suitable delimiter uses semantic lookahead
MO - ch.poole.openinghoursparser.WeekDay
 
MODIFIER - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
month() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
Month - Enum in ch.poole.openinghoursparser
Container for objects from the opening_hours specification
MONTH - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.

N

nameValues() - Static method in enum ch.poole.openinghoursparser.Event
Get list of all values as Strings
nameValues() - Static method in enum ch.poole.openinghoursparser.Holiday.Type
Get list of all values as Strings
nameValues() - Static method in enum ch.poole.openinghoursparser.Month
Get list of all values as Strings
nameValues() - Static method in enum ch.poole.openinghoursparser.RuleModifier.Modifier
Get list of all values as Strings
nameValues() - Static method in enum ch.poole.openinghoursparser.VarDate
Get list of all values as Strings
nameValues() - Static method in enum ch.poole.openinghoursparser.WeekDay
Get list of all values as Strings
newToken(int) - Static method in class ch.poole.openinghoursparser.Token
 
newToken(int, String) - Static method in class ch.poole.openinghoursparser.Token
Returns a new Token object, by default.
next - Variable in class ch.poole.openinghoursparser.Token
A reference to the next regular (non-special) token from the input stream.
NOV - ch.poole.openinghoursparser.Month
 
nth() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
Nth - Class in ch.poole.openinghoursparser
Container for objects from the opening_hours specification
Nth() - Constructor for class ch.poole.openinghoursparser.Nth
Default constructor
Nth(Nth) - Constructor for class ch.poole.openinghoursparser.Nth
Construct a new Nth with the same content
number() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
match a positive number larger than 1
NUMBER - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.

O

OCT - ch.poole.openinghoursparser.Month
 
OFF - ch.poole.openinghoursparser.RuleModifier.Modifier
 
one2five() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
match a number between 1 and 5
OPEN - ch.poole.openinghoursparser.RuleModifier.Modifier
 
OpeningHoursParseException - Exception in ch.poole.openinghoursparser
Represents an exception when parsing the opening hour string
OpeningHoursParser - Class in ch.poole.openinghoursparser
 
OpeningHoursParser(OpeningHoursParserTokenManager) - Constructor for class ch.poole.openinghoursparser.OpeningHoursParser
Constructor with generated Token Manager.
OpeningHoursParser(InputStream) - Constructor for class ch.poole.openinghoursparser.OpeningHoursParser
Constructor with InputStream.
OpeningHoursParser(InputStream, String) - Constructor for class ch.poole.openinghoursparser.OpeningHoursParser
Constructor with InputStream and supplied encoding
OpeningHoursParser(Reader) - Constructor for class ch.poole.openinghoursparser.OpeningHoursParser
Constructor.
OpeningHoursParserConstants - Interface in ch.poole.openinghoursparser
Token literal values and constants.
OpeningHoursParserTokenManager - Class in ch.poole.openinghoursparser
Token Manager.
OpeningHoursParserTokenManager(SimpleCharStream) - Constructor for class ch.poole.openinghoursparser.OpeningHoursParserTokenManager
Constructor.
OpeningHoursParserTokenManager(SimpleCharStream, int) - Constructor for class ch.poole.openinghoursparser.OpeningHoursParserTokenManager
Constructor.

P

ParseException - Exception in ch.poole.openinghoursparser
This exception is thrown when parse errors are encountered.
ParseException() - Constructor for exception ch.poole.openinghoursparser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(Token, int[][], String[]) - Constructor for exception ch.poole.openinghoursparser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException(String) - Constructor for exception ch.poole.openinghoursparser.ParseException
Constructor with message.
PH - ch.poole.openinghoursparser.Holiday.Type
 
PLUS - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
PM - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
prevCharIsCR - Variable in class ch.poole.openinghoursparser.SimpleCharStream
 
prevCharIsLF - Variable in class ch.poole.openinghoursparser.SimpleCharStream
 

Q

QUOTE - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.

R

readChar() - Method in class ch.poole.openinghoursparser.SimpleCharStream
Read a character.
ReInit(OpeningHoursParserTokenManager) - Method in class ch.poole.openinghoursparser.OpeningHoursParser
Reinitialise.
ReInit(SimpleCharStream) - Method in class ch.poole.openinghoursparser.OpeningHoursParserTokenManager
Reinitialise parser.
ReInit(SimpleCharStream, int) - Method in class ch.poole.openinghoursparser.OpeningHoursParserTokenManager
Reinitialise parser.
ReInit(InputStream) - Method in class ch.poole.openinghoursparser.OpeningHoursParser
Reinitialise.
ReInit(InputStream) - Method in class ch.poole.openinghoursparser.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int) - Method in class ch.poole.openinghoursparser.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int, int) - Method in class ch.poole.openinghoursparser.SimpleCharStream
Reinitialise.
ReInit(InputStream, String) - Method in class ch.poole.openinghoursparser.OpeningHoursParser
Reinitialise.
ReInit(InputStream, String) - Method in class ch.poole.openinghoursparser.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int) - Method in class ch.poole.openinghoursparser.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int, int) - Method in class ch.poole.openinghoursparser.SimpleCharStream
Reinitialise.
ReInit(Reader) - Method in class ch.poole.openinghoursparser.OpeningHoursParser
Reinitialise.
ReInit(Reader) - Method in class ch.poole.openinghoursparser.SimpleCharStream
Reinitialise.
ReInit(Reader, int, int) - Method in class ch.poole.openinghoursparser.SimpleCharStream
Reinitialise.
ReInit(Reader, int, int, int) - Method in class ch.poole.openinghoursparser.SimpleCharStream
Reinitialise.
rule() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
Rule - Class in ch.poole.openinghoursparser
Container for objects from the opening_hours specification
Rule() - Constructor for class ch.poole.openinghoursparser.Rule
Default constructor
Rule(Rule) - Constructor for class ch.poole.openinghoursparser.Rule
Copy constructor
rule_modifier() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
RuleModifier - Class in ch.poole.openinghoursparser
Container for objects from the opening_hours specification
RuleModifier() - Constructor for class ch.poole.openinghoursparser.RuleModifier
Default constructor
RuleModifier(RuleModifier) - Constructor for class ch.poole.openinghoursparser.RuleModifier
Construct a new RuleModifier with the same contents
RuleModifier.Modifier - Enum in ch.poole.openinghoursparser
 
rules(boolean) - Method in class ch.poole.openinghoursparser.OpeningHoursParser
Get the output of the parser
rules(boolean, boolean) - Method in class ch.poole.openinghoursparser.OpeningHoursParser
Get the output of the parser
rulesToOpeningHoursDebugString(List<Rule>) - Static method in class ch.poole.openinghoursparser.Util
Generate a debugging output string from rules
rulesToOpeningHoursString(List<Rule>) - Static method in class ch.poole.openinghoursparser.Util
Generate an OH string from rules

S

SA - ch.poole.openinghoursparser.WeekDay
 
SEMICOLON - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
SEP - ch.poole.openinghoursparser.Month
 
setAdditive(boolean) - Method in class ch.poole.openinghoursparser.Rule
Set the additive flag for this rule
setAfterWeekDays(boolean) - Method in class ch.poole.openinghoursparser.Holiday
Set the flag that the holidays should be shown after the weekdays This is necessary due to a specification change
setComment(String) - Method in class ch.poole.openinghoursparser.Rule
Set the comment for this rule
setComment(String) - Method in class ch.poole.openinghoursparser.RuleModifier
 
setDates(List<DateRange>) - Method in class ch.poole.openinghoursparser.Rule
Set the list of DateRange objects
setDay(int) - Method in class ch.poole.openinghoursparser.DateWithOffset
Set the month day number
setDayOffset(int) - Method in class ch.poole.openinghoursparser.DateWithOffset
 
setDays(List<WeekDayRange>) - Method in class ch.poole.openinghoursparser.Rule
Set the list of WeekDayRange objects
setDebugStream(PrintStream) - Method in class ch.poole.openinghoursparser.OpeningHoursParserTokenManager
Set debug output.
setEnd(int) - Method in class ch.poole.openinghoursparser.TimeSpan
Set the end of range value
setEndDate(DateWithOffset) - Method in class ch.poole.openinghoursparser.DateRange
Set the end date of the range
setEndDay(WeekDay) - Method in class ch.poole.openinghoursparser.WeekDayRange
Set the day the range ends on
setEndDay(String) - Method in class ch.poole.openinghoursparser.WeekDayRange
Set the day the range ends on
setEndEvent(VariableTime) - Method in class ch.poole.openinghoursparser.TimeSpan
 
setEndNth(int) - Method in class ch.poole.openinghoursparser.Nth
 
setEndWeek(int) - Method in class ch.poole.openinghoursparser.WeekRange
 
setEndYear(int) - Method in class ch.poole.openinghoursparser.YearRange
Set the end of the year range
setEvent(Event) - Method in class ch.poole.openinghoursparser.VariableTime
Set the day the range starts on
setEvent(String) - Method in class ch.poole.openinghoursparser.VariableTime
Set the day the range starts on
setFallBack(boolean) - Method in class ch.poole.openinghoursparser.Rule
Set the fallback flag for this rule
setHolidays(List<Holiday>) - Method in class ch.poole.openinghoursparser.Rule
Set the List of Holiday objects
setInterval(int) - Method in class ch.poole.openinghoursparser.DateRange
Set an interval for the date range Note: currently the opening hours specification is quiet on what units this is supposed to be in
setInterval(int) - Method in class ch.poole.openinghoursparser.TimeSpan
 
setInterval(int) - Method in class ch.poole.openinghoursparser.WeekRange
 
setInterval(int) - Method in class ch.poole.openinghoursparser.YearRange
 
setLocale(Locale) - Static method in class ch.poole.openinghoursparser.I18n
Sets the locale used for translations.
setModifier(RuleModifier.Modifier) - Method in class ch.poole.openinghoursparser.RuleModifier
Set the rule modifier
setModifier(String) - Method in class ch.poole.openinghoursparser.RuleModifier
Set the rule modifier
setModifier(RuleModifier) - Method in class ch.poole.openinghoursparser.Rule
 
setMonth(Month) - Method in class ch.poole.openinghoursparser.DateWithOffset
 
setMonth(String) - Method in class ch.poole.openinghoursparser.DateWithOffset
Set a month
setMonthdays(List<DateRange>) - Method in class ch.poole.openinghoursparser.Rule
Deprecated.
Use setDates instead
setNth(WeekDay, int) - Method in class ch.poole.openinghoursparser.DateWithOffset
Set date specification via occurrence in month
setNth(String, int) - Method in class ch.poole.openinghoursparser.DateWithOffset
Set date specification via occurrence in month
setNths(List<Nth>) - Method in class ch.poole.openinghoursparser.WeekDayRange
 
setOffset(int) - Method in class ch.poole.openinghoursparser.Holiday
 
setOffset(int) - Method in class ch.poole.openinghoursparser.VariableTime
 
setOffset(int) - Method in class ch.poole.openinghoursparser.WeekDayRange
 
setOpenEnded(boolean) - Method in class ch.poole.openinghoursparser.DateWithOffset
 
setOpenEnded(boolean) - Method in class ch.poole.openinghoursparser.TimeSpan
 
setOpenEnded(boolean) - Method in class ch.poole.openinghoursparser.YearRange
Set if this range is open ended
setStart(int) - Method in class ch.poole.openinghoursparser.TimeSpan
Set the start of range value
setStartDate(DateWithOffset) - Method in class ch.poole.openinghoursparser.DateRange
Set the start date of the range
setStartDay(WeekDay) - Method in class ch.poole.openinghoursparser.WeekDayRange
Set the day the range starts on
setStartDay(String) - Method in class ch.poole.openinghoursparser.WeekDayRange
Set the day the range starts on
setStartEvent(VariableTime) - Method in class ch.poole.openinghoursparser.TimeSpan
 
setStartNth(int) - Method in class ch.poole.openinghoursparser.Nth
 
setStartWeek(int) - Method in class ch.poole.openinghoursparser.WeekRange
 
setStartYear(int) - Method in class ch.poole.openinghoursparser.YearRange
Set the start of the year range
setTabSize(int) - Method in class ch.poole.openinghoursparser.SimpleCharStream
 
setTimes(List<TimeSpan>) - Method in class ch.poole.openinghoursparser.Rule
Set the list of TimeSpan objects
setTwentyfourseven(boolean) - Method in class ch.poole.openinghoursparser.Rule
 
setType(Holiday.Type) - Method in class ch.poole.openinghoursparser.Holiday
 
setUseAsWeekDay(boolean) - Method in class ch.poole.openinghoursparser.Holiday
Set how this holiday should be used
setVarDate(String) - Method in class ch.poole.openinghoursparser.DateWithOffset
Set a variable date
setVarDate(VarDate) - Method in class ch.poole.openinghoursparser.DateWithOffset
 
setWeekDayOffset(WeekDay) - Method in class ch.poole.openinghoursparser.DateWithOffset
 
setWeekDayOffset(String) - Method in class ch.poole.openinghoursparser.DateWithOffset
 
setWeekDayOffsetPositive(boolean) - Method in class ch.poole.openinghoursparser.DateWithOffset
 
setWeeks(List<WeekRange>) - Method in class ch.poole.openinghoursparser.Rule
Set the List of WeekRange objects
setYear(int) - Method in class ch.poole.openinghoursparser.DateWithOffset
Set the year value
setYears(List<YearRange>) - Method in class ch.poole.openinghoursparser.Rule
Set the List of YearRange objects
SH - ch.poole.openinghoursparser.Holiday.Type
 
SimpleCharStream - Class in ch.poole.openinghoursparser
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(InputStream) - Constructor for class ch.poole.openinghoursparser.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int) - Constructor for class ch.poole.openinghoursparser.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int, int) - Constructor for class ch.poole.openinghoursparser.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String) - Constructor for class ch.poole.openinghoursparser.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int) - Constructor for class ch.poole.openinghoursparser.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int, int) - Constructor for class ch.poole.openinghoursparser.SimpleCharStream
Constructor.
SimpleCharStream(Reader) - Constructor for class ch.poole.openinghoursparser.SimpleCharStream
Constructor.
SimpleCharStream(Reader, int, int) - Constructor for class ch.poole.openinghoursparser.SimpleCharStream
Constructor.
SimpleCharStream(Reader, int, int, int) - Constructor for class ch.poole.openinghoursparser.SimpleCharStream
Constructor.
SLASH - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
specialToken - Variable in class ch.poole.openinghoursparser.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
staticFlag - Static variable in class ch.poole.openinghoursparser.SimpleCharStream
Whether parser is static.
STOP - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
SU - ch.poole.openinghoursparser.WeekDay
 
SUNRISE - ch.poole.openinghoursparser.Event
 
SUNSET - ch.poole.openinghoursparser.Event
 
SwitchTo(int) - Method in class ch.poole.openinghoursparser.OpeningHoursParserTokenManager
Switch to specified lex state.

T

tabSize - Variable in class ch.poole.openinghoursparser.SimpleCharStream
 
TH - ch.poole.openinghoursparser.WeekDay
 
time() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
returns the total number of minutes for a time of the form hh:00 or just hh AM/PM handling, see http://www.npl.co.uk/reference/faqs/is-midnight-12-am-or-12-pm-faq-time for why this is a mess 12:01pm to 12:59pm is 12:01 to 12:59 13:00pm and later is considered to be mistyped and in the 24:00 system 12:00 pm is 12:00 12:01am to 12:59am is 00:01 to 00:59 12:00am is 00:00 13:00am and later is considered to be mistyped and in the 24:00 system
time_selector() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
timespan() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
TimeSpan - Class in ch.poole.openinghoursparser
Container for objects from the opening_hours specification
TimeSpan() - Constructor for class ch.poole.openinghoursparser.TimeSpan
Default constructor
TimeSpan(TimeSpan) - Constructor for class ch.poole.openinghoursparser.TimeSpan
Construct a new TimeSpan with the same contents
TO - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
toDebugString() - Method in class ch.poole.openinghoursparser.DateRange
 
toDebugString() - Method in class ch.poole.openinghoursparser.Rule
 
toDebugString() - Method in class ch.poole.openinghoursparser.WeekDayRange
 
token - Variable in class ch.poole.openinghoursparser.OpeningHoursParser
Current token.
Token - Class in ch.poole.openinghoursparser
Describes the input token stream.
Token() - Constructor for class ch.poole.openinghoursparser.Token
No-argument constructor
Token(int) - Constructor for class ch.poole.openinghoursparser.Token
Constructs a new token for the specified Image.
Token(int, String) - Constructor for class ch.poole.openinghoursparser.Token
Constructs a new token for the specified Image and Kind.
token_source - Variable in class ch.poole.openinghoursparser.OpeningHoursParser
Generated Token Manager.
tokenImage - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
Literal token values.
tokenImage - Variable in exception ch.poole.openinghoursparser.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
TokenMgrError - Error in ch.poole.openinghoursparser
Token Manager Error.
TokenMgrError() - Constructor for error ch.poole.openinghoursparser.TokenMgrError
No arg constructor.
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error ch.poole.openinghoursparser.TokenMgrError
Full Constructor.
TokenMgrError(String, int) - Constructor for error ch.poole.openinghoursparser.TokenMgrError
Constructor with message and reason.
toString() - Method in class ch.poole.openinghoursparser.DateRange
 
toString() - Method in class ch.poole.openinghoursparser.DateWithOffset
 
toString() - Method in enum ch.poole.openinghoursparser.Event
 
toString() - Method in class ch.poole.openinghoursparser.Holiday
 
toString() - Method in enum ch.poole.openinghoursparser.Month
 
toString() - Method in class ch.poole.openinghoursparser.Nth
 
toString() - Method in class ch.poole.openinghoursparser.Rule
 
toString() - Method in enum ch.poole.openinghoursparser.RuleModifier.Modifier
 
toString() - Method in class ch.poole.openinghoursparser.RuleModifier
 
toString() - Method in class ch.poole.openinghoursparser.TimeSpan
 
toString() - Method in class ch.poole.openinghoursparser.Token
Returns the image.
toString() - Method in enum ch.poole.openinghoursparser.VarDate
 
toString() - Method in class ch.poole.openinghoursparser.VariableTime
 
toString() - Method in enum ch.poole.openinghoursparser.WeekDay
 
toString() - Method in class ch.poole.openinghoursparser.WeekDayRange
 
toString() - Method in class ch.poole.openinghoursparser.WeekRange
 
toString() - Method in class ch.poole.openinghoursparser.YearRange
 
tr(String, Object...) - Static method in class ch.poole.openinghoursparser.I18n
Returns the translation for the given translation key and the supplied arguments.
TU - ch.poole.openinghoursparser.WeekDay
 

U

UNDEFINED_MONTH_DAY - Static variable in class ch.poole.openinghoursparser.DateWithOffset
 
UNDEFINED_TIME - Static variable in class ch.poole.openinghoursparser.TimeSpan
 
UNDEFINED_WEEK - Static variable in class ch.poole.openinghoursparser.WeekRange
Valid week number are from 1 to 53
UNDEFINED_YEAR - Static variable in class ch.poole.openinghoursparser.YearRange
years are defined as positive integers greater than 1900 (in the spec non-inclusive) however that might change one day
undefinedDay() - Method in class ch.poole.openinghoursparser.DateWithOffset
Check if we don't have a month day number or equivalent
UNEXPECTED_CHAR - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
UNKNOWN - ch.poole.openinghoursparser.RuleModifier.Modifier
 
UpdateLineColumn(char) - Method in class ch.poole.openinghoursparser.SimpleCharStream
 
Util - Class in ch.poole.openinghoursparser
 

V

valueOf(String) - Static method in enum ch.poole.openinghoursparser.Event
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.poole.openinghoursparser.Holiday.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.poole.openinghoursparser.Month
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.poole.openinghoursparser.RuleModifier.Modifier
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.poole.openinghoursparser.VarDate
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.poole.openinghoursparser.WeekDay
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.poole.openinghoursparser.Event
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.poole.openinghoursparser.Holiday.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.poole.openinghoursparser.Month
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.poole.openinghoursparser.RuleModifier.Modifier
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.poole.openinghoursparser.VarDate
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.poole.openinghoursparser.WeekDay
Returns an array containing the constants of this enum type, in the order they are declared.
VarDate - Enum in ch.poole.openinghoursparser
Container for objects from the opening_hours specification
VARDATE - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
variabletime() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
VariableTime - Class in ch.poole.openinghoursparser
Container for objects from the opening_hours specification
VariableTime() - Constructor for class ch.poole.openinghoursparser.VariableTime
Default constructor
VariableTime(VariableTime) - Constructor for class ch.poole.openinghoursparser.VariableTime
Construct a new VariableTime with the same contents

W

WE - ch.poole.openinghoursparser.WeekDay
 
WEEK - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
week_range() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
week_selector() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
weekday() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
WeekDay - Enum in ch.poole.openinghoursparser
Container for objects from the opening_hours specification
WEEKDAY - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
weekday_range() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
weekday_selector() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
WEEKDAY3 - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
WEEKDAYDE - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.
WeekDayRange - Class in ch.poole.openinghoursparser
 
WeekDayRange() - Constructor for class ch.poole.openinghoursparser.WeekDayRange
Default constructor
WeekDayRange(WeekDayRange) - Constructor for class ch.poole.openinghoursparser.WeekDayRange
Construct a new WeekDayRange with the same contents
weeknum() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
WeekRange - Class in ch.poole.openinghoursparser
Container for objects from the opening_hours specification
WeekRange() - Constructor for class ch.poole.openinghoursparser.WeekRange
Default constructor
WeekRange(WeekRange) - Constructor for class ch.poole.openinghoursparser.WeekRange
Construct a new WeekRange with the same contents
WS - Static variable in interface ch.poole.openinghoursparser.OpeningHoursParserConstants
RegularExpression Id.

Y

year() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
year_range() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
year_selector() - Method in class ch.poole.openinghoursparser.OpeningHoursParser
 
YearRange - Class in ch.poole.openinghoursparser
Container for objects from the opening_hours specification
YearRange() - Constructor for class ch.poole.openinghoursparser.YearRange
Default constructor
YearRange(YearRange) - Constructor for class ch.poole.openinghoursparser.YearRange
Construct a new YearRange with the same contents
A B C D E F G H I J K L M N O P Q R S T U V W Y 
All Classes All Packages