Date Class Reference

[File-Date-StringUtils Index] [File-Date-StringUtils Hierarchy] [Headers]


This class' objects represent either a point in time ("absolute time value") or a time period ("relative") More...

#include <Date.hpp>

Public Members

Protected Members


Detailed Description

This class' objects represent either a point in time ("absolute time value") or a time period ("relative"). A time period can be understood as the difference between two points in time. At present, no distinction is made internally betwenn these two semantics; so care must be taken on usage of some functions.

Note: Parts of the interface may change.

Functionality: An istance may be created with the current date/time or a value of type time_t, used by many OS functions. Calculations Generation of string representations.

Shortcomings (at present): String representations not usable for time periods No string-scanning Dates before the 'epoch' cannot be used safely!


Date()

Constructs an instance with the current system time

virtual string toString() const

Generates a generic string representation, in local time

string toString( const TimeZone&) const

Gererates a string representation in the given time zone

string toString( const string&) const

Gererate string representation in local time.

string toString( const string&, const TimeZone&) const

don't use yet.


  • Author: Michael Weers
  • Version: 0.54 1998-08-28
  • Documentation generated by mw@nemea on Mit Nov 24 00:09:19 CET 1999
Kdoc