The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.93_02 - 2011-03-31

  • Set month and implicit day explicitly to avoid overlap parse failures; add a regression test. [reported by Chifung Fan]
  • Keep the minute or higher precision requirement when extracting one token time expressions, but undo the grammar change.
  • Test one token time expression with precision in hour.
  • Use more descriptive variable names within the extract class.

Changes for version 0.93_01 - 2011-03-21

  • Introduce a class to extract parsable expressions from strings.
    • suggested by Colm Dougan
  • Add and document the extract_datetime() method.
  • Test extracting parsable expressions.
  • Require precision in hour or higher for one token time expressions, otherwise extracting expressions would be impeded.
  • Move the formatted string regex to the grammar class; furthermore, move the according checks to the formatted class.

Documentation

frontend to DateTime::Format::Natural

Modules

Create machine readable date/time with natural parsing logic
Aliasing of date strings
Basic calculations
Methods with more than one implementation
Duration hooks and state handling
Extract parsable expressions from strings
Processing of formatted dates
Various helper methods
Base class for DateTime::Format::Natural::Lang::
English language metadata
Common test routines/data
Handy utility methods
Wrappers for DateTime operations

Provides

in lib/DateTime/Format/Natural/Duration/Checks.pm