hosseamin / DateTime.php

DateTime implementation for several calendars

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DateTime.php DateTime implementation for several calendars
Purpose of project is to provide interface for dealing with calendars
where have Year, Month, Day, DayOfWeek.

Interface uses DateInterval, DateTimeZone Classes.
It's similar to php's DateTime Class.

-BaseDateTime class is abstract constrol's parsing, formating or anything where
not related to any specific calendar, it require some variables like textual
month names and week names where will be defined in higher level classes.
-RYMDateTime compunds calendar's commonalities, it is 12 month calendars with
7 days week, Gregorian | Persian | Islamic calendars are example use of it.

 Copyright (C) 2012  Hossein Amin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

DateTime implementation for several calendars


Languages

Language:PHP 100.0%