CDateString

Derived from: CString

Declared in: CDateString.h

Library: Chronology.so

This class enhances the CString class, so that it understands several format tokens, that are usefull with CDate. Sourcecode is provided for learning purposes, but it's not necessary to compile and/or link it.


The class understands the following tokens, that can be used to format a string containing times:


Here is a simple example of how to use this class:

      CDate mytime;
      CDateString tf;
      printf( tf.Format( mytime, "%day%.%mm%.%year%" ).String());





The Cronology Library, in lovely HTML, for BeOS Release 4.

Copyright © 1999 Michael Praschl. All rights reserved.

Last modified: 17. Feb 1999