zackattak01 / humantimeparser Goto Github PK
View Code? Open in Web Editor NEWSimple to use parser capable of parsing a usable time object from human input
License: MIT License
Simple to use parser capable of parsing a usable time object from human input
License: MIT License
Currently, the value of the FirstParsedTokenIndex and LastParsedTokenIndex properties indicates the index of the token based on the sections of the raw text. This behavior should be changed so that the indexes represent the index of the last char in the raw text.
The current implementation of the tokenizer and parser is quite pitiful and is only going to worsen. Rewrite it use a Token class instead of an enum and remove the squashing of multiple tokens into one from the tokenizer. The tokenizer should tokenize and the parser should parse.
Provides for the case where the "value" part of the input string would be parsed as part of the date/time.
Unknown formats should no longer be ignored and treated as they simply dont exist.
For example: "does things in 1s"
The current tokenizer completely ignores "does", "things", and "in". These should be tokenized as an unknown token type.
The current date parsing is limited to the capabilities of DateTime.TryParse. I hope to enable month and day parsing
This project may actually deserve some xml docs
This project is rather slow (no surprise, I wrote it of course).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.