Class: QDate
Search
All class groups
Latest entries
Top 10 charts
Newsletter
Blog
Forums
Help FAQ
Login
Register
Recommend
this page to a friend!
Classes of Tom Schaefer
>
QDate
>
Download
>
Support forum
>
Latest changes
>
Stumble It!
>
Bookmark in del.icio.us
Name:
QDate
Support forum
Base name:
qdate
Description:
Manipulate dates in different formats
Version:
0.1
Required PHP version:
5
License:
MIT/X Consortium License
All time users:
177 users
All time rank:
4128
Week users:
1 user
Week rank:
2739
Supplied by
Groups
Detailed description
User ratings
Applications
Related links
Files
Supplied by
:
Name:
Tom Schaefer
is available for providing paid consulting. Contact
Tom Schaefer
.
Published packages:
12
Country:
Germany
-
PHP jobs in Germany
Home page:
???
Age:
???
All time rank:
686
Week rank:
80
Browse this author's classes
Groups
:
PHP 5
Classes using PHP 5 specific features
View top rated classes
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.
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
QDate.class.php
Class
Set of Date Classes
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
Site map
Statistics
Site tips
Privacy policy
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