Commit Graph

72 Commits

Author SHA1 Message Date
Laurence Withers 2d51d09c83 Upgrade build system 2008-12-20 22:36:28 +00:00
Laurence Withers cad2283f6a Add iso8601_add_multiple()
Add a function to efficiently add (or subtract) a multiple of a period
to a timestamp.
2008-12-11 15:37:12 +00:00
Laurence Withers d431f68054 Add leap second for 2008-12-31
Add an entry to record the leap second at 2008-12-31, and tidy up the table
formatting.
2008-12-10 18:24:32 +00:00
Laurence Withers 0d504baaee Bump version 2008-01-07 13:17:17 +00:00
Laurence Withers 93efb6294d Bump version 2008-01-07 13:16:22 +00:00
Laurence Withers 6246f8ebcd Fix missing null termination when tz_sec = 0, add test for it 2008-01-07 13:16:18 +00:00
Laurence Withers 048196532e Bump version 2008-01-04 22:47:16 +00:00
Laurence Withers 1f43445813 Fix bug where iso8601_print() could overrun...
If a date with a timezone offset of 0 had a length exactly matching the
buffer size, we would write past the end of the buffer.
2008-01-04 22:47:10 +00:00
Laurence Withers 69628be83e Bump version 2007-12-05 17:45:34 +00:00
Laurence Withers a4e99696a1 Update build system 2007-12-05 17:45:23 +00:00
Laurence Withers 21adf7acf0 Add setisodate utility.
This utility is capable of setting the system clock, taking its argument
in ISO8601 format.
2007-09-13 11:16:23 +00:00
Laurence Withers 64c5ce0d65 Add the isodate utility.
This utility provides a way to display dates in ISO8601 format. The
exact output format can be controlled. It can either display dates
passed on the commandline or it can display the current date/time.
2007-09-13 11:09:32 +00:00
Laurence Withers 07a31fd8f7 Add doxygen markup for date/time precision enumerations 2007-09-13 11:08:51 +00:00
Laurence Withers c47e0e241f Add functions for converting to/from a struct timespec, and for setting
the system clock
2007-09-13 11:05:51 +00:00
Laurence Withers 2a51412ade Upgrade build system, bump version 2007-09-13 10:25:31 +00:00
Laurence Withers 7d35697775 Bump version 2007-08-21 09:54:57 +00:00
Laurence Withers f49b80de01 Add iso8601_difference() 2007-08-21 09:54:51 +00:00
Laurence Withers 4deda83c58 Bump version 2007-07-29 11:58:18 +00:00
Laurence Withers 6ae62fb796 Bump version 2007-07-29 11:58:18 +00:00
Laurence Withers ec6c9a41f7 Fix up elapsed manipulation 2007-07-29 11:57:13 +00:00
Laurence Withers e59586b265 Add an RPN date manipulator 2007-07-29 11:53:55 +00:00
Laurence Withers 124df16711 Bump version 2007-07-24 11:50:54 +00:00
Laurence Withers 1a92252640 Add doxygen documentation 2007-07-24 11:50:45 +00:00
Laurence Withers 6d9df9927d Bump version 2007-07-24 11:46:05 +00:00
Laurence Withers 1f44765f0b Bump version 2007-07-24 11:46:05 +00:00
Laurence Withers a46057ef49 Fix up leap second manipulations 2007-07-24 11:45:21 +00:00
Laurence Withers 35c4455bc2 Further WIP on tidy up and merge beginning of new manipulation infrastructur 2007-07-23 16:55:13 +00:00
Laurence Withers 603b067310 Further WIP on tidy up 2007-07-23 15:00:08 +00:00
Laurence Withers f82859fa78 Make iso8601_print() return a pointer to its output buffer. This breaks
the ABI.
2007-07-23 14:47:49 +00:00
Laurence Withers d08f81a6cf Clean up printing 2007-07-23 14:45:11 +00:00
Laurence Withers 5d73f2f004 Pull in sys/time.h for gettimeofday 2007-07-23 14:44:43 +00:00
Laurence Withers 8d7988a0c4 Remove todo and add comment about whitespace stripping 2007-07-23 14:41:05 +00:00
Laurence Withers a0bc1e3d06 Clean up C library functions. Add fallback to gettimeofday() if clock_gettime() fails. 2007-07-23 14:40:20 +00:00
Laurence Withers 47f35dc992 Clean up iso8601_valid() et al. into iso8601_invalid(). 2007-07-23 14:30:18 +00:00
Laurence Withers 674e705d05 Fix up whitespace skipping 2007-07-23 14:22:40 +00:00
Laurence Withers 1b6343e474 Add whitespace stripping to parser 2007-07-23 14:13:48 +00:00
Laurence Withers e9d29f4792 Begin cleanup of source files 2007-07-23 13:47:53 +00:00
Laurence Withers 5643e388ee Upgrade build system 2007-07-23 13:19:39 +00:00
Laurence Withers 0cb46591e9 Bump version 2007-07-23 12:15:04 +00:00
Laurence Withers 5c358ce21d Bump version 2007-07-23 12:15:04 +00:00
Laurence Withers a0800d0ed2 Add iso8601_add_nanoseconds, add define for BILLION 2007-07-23 12:14:41 +00:00
Laurence Withers 20a7d92d1c Bump version 2007-05-23 13:25:31 +00:00
Laurence Withers 16e76a257f Bump version 2007-05-23 13:25:30 +00:00
Laurence Withers 728d0b6151 Fix bug in comparison functions, add equality test 2007-05-23 13:25:18 +00:00
Laurence Withers be475c5dc1 Bump version 2007-05-22 11:41:46 +00:00
Laurence Withers f90b0ea300 Bump version 2007-05-22 11:41:10 +00:00
Laurence Withers b6f832ebea Bump version 2007-05-22 11:41:09 +00:00
Laurence Withers 7aace3d8e3 Add some more leap second support 2007-05-22 11:40:40 +00:00
Laurence Withers 4bd50f62e2 Fix filename in comment 2007-05-22 10:07:20 +00:00
Laurence Withers db23c34449 Remove final 86401 reference from parser 2007-05-22 10:01:36 +00:00