Commit graph

85 commits

Author SHA1 Message Date
Paul Beckingham
90ac0e2b17 ISO8601d: Added ::operator== 2015-09-26 14:51:46 -04:00
Paul Beckingham
ff320345e9 ISO8601: Added ::monthOfYear and tests 2015-09-26 14:47:08 -04:00
Paul Beckingham
f26cff9a4a ISO8601d: Added :dayName methods and tests 2015-09-26 14:32:14 -04:00
Paul Beckingham
7164215146 ISO8601d: Added ::hour, ::minute, ::second 2015-09-26 14:25:19 -04:00
Paul Beckingham
5ed0d13194 ISO8601d: Added ::dayOfYear 2015-09-26 14:24:33 -04:00
Paul Beckingham
ac428e1f1a ISO8601d: Added ::dayOfWeek 2015-09-26 14:23:41 -04:00
Paul Beckingham
66dc016ce6 ISO8601d: Added ::weekOfYear 2015-09-26 14:22:37 -04:00
Paul Beckingham
af81b24d92 ISO8601d: Added ::year 2015-09-26 14:21:42 -04:00
Paul Beckingham
eeac423fd6 ISO8601d: Added ::day 2015-09-26 14:20:32 -04:00
Paul Beckingham
17185c7911 ISO8601d: Added ::week 2015-09-26 14:18:54 -04:00
Paul Beckingham
24ff570427 ISO8601d: Added ::month 2015-09-26 14:16:38 -04:00
Paul Beckingham
0d6788635e ISO8601d: Added ::monthName and tests 2015-09-26 14:02:26 -04:00
Paul Beckingham
965415d7a4 ISO8601d: Added ::daysInYear and tests 2015-09-26 13:57:10 -04:00
Paul Beckingham
d8eb0ac0da ISO8601d: Added ::daysInMonth and tests 2015-09-26 13:52:43 -04:00
Paul Beckingham
6f5d07dcd4 ISO8601d: Added ::leapYear and tests 2015-09-26 13:47:27 -04:00
Paul Beckingham
f615db8a4c ISO8601d: Added ::length and tests 2015-09-26 13:38:32 -04:00
Paul Beckingham
91588c7e96 ISO8601: Added static ::dayOfWeek 2015-09-26 13:29:31 -04:00
Paul Beckingham
6f726bf1cf ISO8601d: Added ::minimumMatchLength 2015-09-26 12:57:57 -04:00
Paul Beckingham
541e9eec30 Context: Initialize ISO8601::weekstart 2015-09-26 12:40:56 -04:00
Paul Beckingham
12aeecc73f ISO8601: Removed useless comment 2015-09-26 12:27:23 -04:00
Paul Beckingham
eeb592d032 ISO8601d: Renamed ::_value to ::_date 2015-09-26 12:26:09 -04:00
Paul Beckingham
bb53ae17ae ISO8601p: Renamed ::_value to ::_period 2015-09-26 12:17:57 -04:00
Paul Beckingham
1efc1f2531 ISO8601: ::clear is now a private method 2015-09-26 11:45:00 -04:00
Paul Beckingham
2b3691508f ISO8601: Prepared ::parse method for its new role of parsing all dates 2015-09-26 11:39:45 -04:00
Paul Beckingham
35b52c421b ISO8601: Implemented ISO8601p::formatVague for short-form, rounded values 2015-08-12 16:22:13 -04:00
Paul Beckingham
a86e45c31e ISO8601: Added time_t ctor 2015-08-12 08:01:43 -04:00
Paul Beckingham
6dc7244fa6 ISO8601: Began merge of Duration and ISO8601p 2015-08-09 16:33:21 -04:00
Paul Beckingham
7ac86185e4 ISO8601: Dead code removal 2015-07-17 15:01:13 -04:00
Paul Beckingham
b0c8f4ca4f ISO8601: Restored support for the UTC & local non-extended full form 2015-07-04 16:04:03 -04:00
Paul Beckingham
2402ec8d6e ISO8601: Removed the need for ::ambiguity 2015-07-01 17:59:27 -04:00
Paul Beckingham
4b8fdd0fbe ISO8601: Removed non-extended forms
- Removed support for non-extended forms, which is approximately half of the
  formats.  These include:
    YYYYMMDD
    YYYYWww
    YYYYWwwD
    hhmmѕsZ
    hhmmZ
    hhZ
  and combinations thereof. Essentially all forms that contains run-on sequences
  of integers, without separators. These removed forms will still be supported
  via rc.dateformat.
- Removed unsupported forms from iso8601d.t.cpp.
- Removed unsupported forms from datetime-negative.t, and corrected the tests
  that now succeed.
2015-06-27 13:48:42 -04:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Paul Beckingham
4dd57a01bb ISO8601
- Removed debugging code.
2014-07-05 09:38:52 -04:00
Paul Beckingham
70ba19fd5e Bug TW-1254
- TW-1254 Calc command can segfault on negative numbers (thanks to Renato
          Alves).
- Implemented a recursive descent parser to syntax check the expression,
  and disambiguate unary minus. The syntax checking is not generating any
  diagnostics yet.
2014-04-06 00:29:14 -04:00
Paul Beckingham
712b0bb4b5 ISO8601
- Merged libexpr ISO8601 code.
2014-01-02 00:45:16 -05:00