Skip navigation links
A B C D H N P R S 

A

addRule(String) - Method in class com.github.sisyphsu.dateparser.DateParserBuilder
Add an standard rule which could parse the specified subsequence.
addRule(String, RuleHandler) - Method in class com.github.sisyphsu.dateparser.DateParserBuilder
Add an customized rule which could parse any subsequence.

B

build() - Method in class com.github.sisyphsu.dateparser.DateParserBuilder
Build the final DateParser instance.

C

com.github.sisyphsu.dateparser - package com.github.sisyphsu.dateparser
 

D

DateBuilder - Class in com.github.sisyphsu.dateparser
This DateTime used for caching the properties of parser.
DateBuilder() - Constructor for class com.github.sisyphsu.dateparser.DateBuilder
 
DateParser - Class in com.github.sisyphsu.dateparser
DateParser represents an unique parser context, it shouldn't be used concurrently.
DateParserBuilder - Class in com.github.sisyphsu.dateparser
Predefine some date parser's rules, and support to customize new rules.
DateParserUtils - Class in com.github.sisyphsu.dateparser
This is an convenience utils for DateParser.

H

handle(CharSequence, ReMatcher, DateBuilder) - Method in interface com.github.sisyphsu.dateparser.RuleHandler
Parse substring[from, to) of the specified string

N

newBuilder() - Static method in class com.github.sisyphsu.dateparser.DateParser
Create an new DateParserBuilder which could be used for initialize DateParser.

P

parseCalendar(String) - Method in class com.github.sisyphsu.dateparser.DateParser
Parse the specified String into Calendar
parseCalendar(String) - Static method in class com.github.sisyphsu.dateparser.DateParserUtils
Parse the specified String into Calendar instance, it will convert different TimeZone into system's default zone.
parseDate(String) - Method in class com.github.sisyphsu.dateparser.DateParser
Parse the specified String into Date
parseDate(String) - Static method in class com.github.sisyphsu.dateparser.DateParserUtils
Parse the specified String into Date instance, it will convert different TimeZone into system's default zone.
parseDateTime(String) - Method in class com.github.sisyphsu.dateparser.DateParser
Parse the specified string into LocalDateTime
parseDateTime(String) - Static method in class com.github.sisyphsu.dateparser.DateParserUtils
Parse the specified String into LocalDateTime, it will convert different TimeZone into system's default zone.
parseOffsetDateTime(String) - Method in class com.github.sisyphsu.dateparser.DateParser
Parse the specified string into OffsetDateTime
parseOffsetDateTime(String) - Static method in class com.github.sisyphsu.dateparser.DateParserUtils
Parse the specified String into OffsetDateTime, use +00:00 as default ZoneOffset.
preferMonthFirst(boolean) - Method in class com.github.sisyphsu.dateparser.DateParserBuilder
Mark this parser prefer mm/dd or not.
preferMonthFirst(boolean) - Static method in class com.github.sisyphsu.dateparser.DateParserUtils
Setup the current Utils prefer mm/dd or not.

R

registerCustomizedRule(String, RuleHandler) - Static method in class com.github.sisyphsu.dateparser.DateParserUtils
Register new customized parse rules.
registerStandardRule(String) - Static method in class com.github.sisyphsu.dateparser.DateParserUtils
Register new standard parse rules, all captured group should have the specified names.
RuleHandler - Interface in com.github.sisyphsu.dateparser
This class represents the standard specification of rule's handler.

S

setPreferMonthFirst(boolean) - Method in class com.github.sisyphsu.dateparser.DateParser
If parser cannot distinguish the dd/mm and mm/dd, preferMonthFirst will help it determine.
A B C D H N P R S 
Skip navigation links

Copyright © 2022. All rights reserved.