chrono/src
Kang Seonghoon 82c63e5b40 0.2.0-dev: date/time parsing.
Basically, this should close #12 when officially released.

- Formatting syntax is now refactored out of the rendering logic.
  The main syntax is available in the `format::strftime` module,
  which also serves as a documentation for the syntax.

- A parser (modelled after `strptime(3)`) has been implemented.
  See the individual commits for the detailed implementation.

- There are two ways to get a timezone-aware value from a string:
  `Offset` or `DateTime<FixedOffset>`. The former should be used
  when the offset is known in advance (e.g. assume the local date)
  while the latter should be used when the offset is unknown.
  Naive types have a simple `from_str` method.

- There are some known problems with the parser (even after
  tons of tests), which will be sorted out in 0.2. Known issues:

  - This does not exactly handle RFC 2822 and RFC 3339, which
    subtly differs from the current implementation in
    case-sensitivity, whitespace handling and legacy syntax.
    I'd like to integrate #24 for this cause.

  - Time zone names are not recognized at all. There is even
    no means to get a name itself, not sure about the resolution.

  - `Parsed` does *not* constrain `year` to be non-negative,
    so manually prepared `Parsed` may give a negative year.
    But the current verification pass may break such cases.

  - I absolutely don't know about the parser's performance!

- `AUTHORS.txt` has been added, for what it's worth.
2015-02-05 02:53:19 +09:00
..
format 0.2.0-dev: date/time parsing. 2015-02-05 02:53:19 +09:00
naive public interfaces for parser are now available. 2015-02-05 02:16:35 +09:00
date.rs added `checked_{add,sub}` methods to `[Naive]Date[Time]` types. 2015-02-04 16:19:54 +09:00
datetime.rs public interfaces for parser are now available. 2015-02-05 02:16:35 +09:00
div.rs new formatter design! 2015-02-04 16:19:54 +09:00
lib.rs 0.2.0-dev: date/time parsing. 2015-02-05 02:53:19 +09:00
offset.rs public interfaces for parser are now available. 2015-02-05 02:16:35 +09:00
time.rs new formatter design! 2015-02-04 16:19:54 +09:00