Crates.io | two_timer |
lib.rs | two_timer |
version | 2.2.5 |
source | src |
created_at | 2018-12-29 22:26:52.694504 |
updated_at | 2023-10-10 00:05:42.890143 |
description | parser for English time expressions |
homepage | https://github.com/dfhoughton/two-timer |
repository | https://github.com/dfhoughton/two-timer |
max_upload_size | |
id | 104461 |
size | 150,754 |
Rust library for parsing English time expressions into start and end timestamps
This takes English expressions and returns a time range which ideally matches the expression. You might use this for registering the temporal extent of an event, say, or finding lines in a log file.
Some expressions it can handle:
The complete API is available at https://docs.rs/two_timer/.