Apparently, CMPIDateTime can handle pre-epoch representations, e.g. when calling CMNewDateTimeFromChars() with "19690101000000.000000+000".
However, getBinaryFormat fails on this date because the implementation (datetime.c: chars2bin()) calls 'mktime' for validation and mktime is unable to handle pre-epoch times.
Reading through the CMPI 2.0 standard, the binary date representation should be 'long long', thus allowing negative (pre-epoch) values.
Log in to post a comment.