PHP Classes
Icontem

Class: QDate


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend!
      Classes of Tom Schaefer  >  QDate  >  Download  >  Support forum Support forum  >  RSS 1.0 feed RSS 2.0 feed Latest changes  >  Stumble It! Stumble It!  >  Bookmark in del.icio.us Bookmark in del.icio.us  
  Supplied by   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Related links   Files Files  
  • Supplied by:

    Picture of Tom Schaefer
    Name: Tom Schaefer is available for providing paid consulting. Contact Tom Schaefer .
    Published packages: 12
    Country: Germany Germany - PHP jobs in Germany
    Home page: ???
    Age: ???
    All time rank: 815
    Week rank: 44

    Browse this author's classes

  • Groups:

    Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
    Group folder image Time and Date Time and date values, formats and conversion View top rated classes
  • Detailed description:

    This package can be used to manipulate dates in several formats.

    There are base classes that take care of generic date formatting functions and options.

    A base container sub-class provides functions to set and get each element of a date like the year, month, day, hour, minute, second, etc.

    There are also two sub-classes to change the default date format to the German format or ISO.

    The classes provide a fluent interface so several concatenated operations may be called within single statement.

    Easily to enhance by defining a new Q{LANGUAGE}Date class, where you only have to define the locale (like QGermanDate)=>

    class QNetherlandDate extends QDateContainer {
    const lang = 'nl_NL';
    const locale = 'nld_nld';

    ...
    }

    Now the Class creates month and day names for the Netherlands.


    class QFormat holds country specific date format rules.

    $f = new QFormat;
    $f->set({your-array-with-formats})

    Look at the class format for getting the array structure.

    (Documentation comes later.)
  • User ratings:

    Not yet rated by the users
  • Applications that use this class:

    No application links were specified for this class.
    Add link image If you know an application of this package, send a message to the author to add a link here.
  • Related links:

    Link Description
    Ultimate Date Parser The inspiring class for QDatePattern
  • Files:

    File Role Description
    Plain text file QDate.class.php Class Set of Date Classes
    Plain text file sample.php Example Samples showing how to use the fluent interface design.
    Download all files: qdate.tar.gz qdate.zip
    NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products