Date identification in text. Output includes java date object and format of identified date. Fast results with minimal processing and memory utilization.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
src
DateParser_Date_Identification_FlowChart.png
DateParser_Date_Identification_FlowChart.xml
DateParser_Time_Identification_FlowChart.png
DateParser_Time_Identification_FlowChart.xml
README.md
pom.xml
pom.xml.bak

README.md

DateParser

fast date identifcation algoritham. Does not uses regex and is easy on CPU.

Visit http://coffeefromme.blogspot.com/2015/10/utility-to-extract-date-from-text-with.html for implementation details.

Use with maven

    <dependency>
        <groupId>net.rationalminds</groupId>
        <artifactId>DateParser</artifactId>
        <version>1.1</version>
    </dependency>

Supported Date formats

DD[]MM[MMM][]YY[YY]

MM[MMM][]DD[]YY[YY]

YY[YY][]MM[MMM][]DD

Supported Date Time formats

DD[]MM[MMM][]YY[YY]{}HH[24]:mm:ss[.SSS][][AM|PM]

MM[MMM][]DD[]YY[YY]{}HH[24]:mm:ss[.SSS][][AM|PM]

MM[MMM][]DD,[]YY[YY]{}HH[24]:mm:ss[.SSS][][AM|PM]

YY[YY][]MM[MMM][]DD{}HH[24]:mm:ss[.SSS][][AM|PM]

*[] Delimiter like / \ - _ . | whitescape etc

*{} Delimiter _ T whitescape