Bugfix: conversion of an empty string to a date or hour object
authorarjen <arjen>
Sat, 28 Sep 2002 06:58:45 +0000 (06:58 +0000)
committerarjen <arjen>
Sat, 28 Sep 2002 06:58:45 +0000 (06:58 +0000)
commit785587ad1d3412c73c923b77416c73b42777ade7
tree1542a38bd4e11cfad9a6d8774e683507cb951617
parent5e0f2b89e7e4866de0e6f57f96986f7cf65fc0e7
Bugfix: conversion of an empty string to a date or hour object
now makes the values of such an object 0 (null) instead of giving
a segmentation fault.
The class UTC combines the date and hour classes. The most basic
functions of the UTC class are now implemented.
These include constructors and conversion to and from String objects.
New functions: date::proper(), hour::proper() and UTC::proper().
Return true if the object holds a proper clock time and/or calendar
date; false if at least one value is out of range.
src/Makefile.am
src/Makefile.in
src/date.cpp
src/date.h
src/datelex.c
src/dateyacc.y
src/hour.cpp
src/parsedate.c
src/utc.cpp [new file with mode: 0644]