class Chronic::Parser

Defined in:

chronic/parser.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.parse(text) #

[View source]

Instance Method Detail

def parse(text : String) #

[View source]
def parse(tokens : Array(Array(Array(String)))) #

[View source]
def parse(tokens : Array(Array(String))) #

[View source]
def parse(tokens : Array(String)) #

Note: Fix time computation by adding 1 second. $ echo 2020-02-02 + tomorrow | chronic

2020-02-02 23:59:59


[View source]
def parse(tokens : Tuple(Array(String), Array(String))) #

[View source]
def pre_normalize(text) #

[View source]
def tokenize(text) #

[View source]