[commits] Horde branch master updated.

Chuck Hagenbuch chuck at horde.org
Sat May 30 01:02:29 UTC 2009


The branch "master" has been updated.
The following is a summary of the commits.

from: 243a8e891a2e7640dcab314d5840656f2a6c363d

f3baae1... initial horde/date package in git
f0ab112... use Y-M-D to initialize Horde dates, not seconds, since otherwise the test might be timezone-dependent
c91ff37... add toDays(), fromDays(), and diff() functions, and convert to PHP 5 style
9c2df97... php 5 style

-----------------------------------------------------------------------

commit f3baae109f1449d30e0061e3861ceb3e0feb1a90
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Fri May 29 18:24:49 2009 -0400

    initial horde/date package in git

 framework/Date/lib/Horde/Date.php                         |  963 ++++++++
 framework/Date/lib/Horde/Date/Recurrence.php              | 1475 +++++++++++++
 framework/Date/lib/Horde/Date/Repeater.php                |   46 +
 framework/Date/lib/Horde/Date/Repeater/Day.php            |   66 +
 framework/Date/lib/Horde/Date/Repeater/DayName.php        |   74 +
 framework/Date/lib/Horde/Date/Repeater/DayPortion.php     |  146 ++
 framework/Date/lib/Horde/Date/Repeater/Exception.php      |    4 +
 framework/Date/lib/Horde/Date/Repeater/Fortnight.php      |   81 +
 framework/Date/lib/Horde/Date/Repeater/Hour.php           |   61 +
 framework/Date/lib/Horde/Date/Repeater/Minute.php         |   61 +
 framework/Date/lib/Horde/Date/Repeater/Month.php          |   66 +
 framework/Date/lib/Horde/Date/Repeater/MonthName.php      |  109 +
 framework/Date/lib/Horde/Date/Repeater/Season.php         |   31 +
 framework/Date/lib/Horde/Date/Repeater/SeasonName.php     |   42 +
 framework/Date/lib/Horde/Date/Repeater/Second.php         |   49 +
 framework/Date/lib/Horde/Date/Repeater/Time.php           |  136 ++
 framework/Date/lib/Horde/Date/Repeater/Week.php           |   89 +
 framework/Date/lib/Horde/Date/Repeater/Weekend.php        |   80 +
 framework/Date/lib/Horde/Date/Repeater/Year.php           |   60 +
 framework/Date/lib/Horde/Date/Span.php                    |   77 +
 framework/Date/package.xml                                |  101 +
 framework/Date/test/Horde/Date/AllTests.php               |   54 +
 framework/Date/test/Horde/Date/DateTest.php               |   47 +
 framework/Date/test/Horde/Date/RecurrenceTest.php         |  113 +
 framework/Date/test/Horde/Date/Repeater/DayNameTest.php   |   48 +
 framework/Date/test/Horde/Date/Repeater/DayTest.php       |   29 +
 framework/Date/test/Horde/Date/Repeater/HourTest.php      |   76 +
 framework/Date/test/Horde/Date/Repeater/MonthNameTest.php |   67 +
 framework/Date/test/Horde/Date/Repeater/MonthTest.php     |   40 +
 framework/Date/test/Horde/Date/Repeater/TimeTest.php      |   81 +
 framework/Date/test/Horde/Date/Repeater/WeekTest.php      |   78 +
 framework/Date/test/Horde/Date/Repeater/WeekendTest.php   |   88 +
 framework/Date/test/Horde/Date/Repeater/YearTest.php      |   76 +
 framework/Date/test/Horde/Date/SpanTest.php               |   38 +
 framework/Date/test/Horde/Date/fixtures/bug2813.ics       |   34 +
 35 files changed, 4686 insertions(+), 0 deletions(-)
 create mode 100644 framework/Date/lib/Horde/Date.php
 create mode 100644 framework/Date/lib/Horde/Date/Recurrence.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/Day.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/DayName.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/DayPortion.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/Exception.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/Fortnight.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/Hour.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/Minute.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/Month.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/MonthName.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/Season.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/SeasonName.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/Second.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/Time.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/Week.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/Weekend.php
 create mode 100644 framework/Date/lib/Horde/Date/Repeater/Year.php
 create mode 100644 framework/Date/lib/Horde/Date/Span.php
 create mode 100644 framework/Date/package.xml
 create mode 100644 framework/Date/test/Horde/Date/AllTests.php
 create mode 100644 framework/Date/test/Horde/Date/DateTest.php
 create mode 100644 framework/Date/test/Horde/Date/RecurrenceTest.php
 create mode 100644 framework/Date/test/Horde/Date/Repeater/DayNameTest.php
 create mode 100644 framework/Date/test/Horde/Date/Repeater/DayTest.php
 create mode 100644 framework/Date/test/Horde/Date/Repeater/HourTest.php
 create mode 100644 framework/Date/test/Horde/Date/Repeater/MonthNameTest.php
 create mode 100644 framework/Date/test/Horde/Date/Repeater/MonthTest.php
 create mode 100644 framework/Date/test/Horde/Date/Repeater/TimeTest.php
 create mode 100644 framework/Date/test/Horde/Date/Repeater/WeekTest.php
 create mode 100644 framework/Date/test/Horde/Date/Repeater/WeekendTest.php
 create mode 100644 framework/Date/test/Horde/Date/Repeater/YearTest.php
 create mode 100644 framework/Date/test/Horde/Date/SpanTest.php
 create mode 100644 framework/Date/test/Horde/Date/fixtures/bug2813.ics

http://git.horde.org/co.php/framework/Date/lib/Horde/Date.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Recurrence.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/Day.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/DayName.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/DayPortion.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/Exception.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/Fortnight.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/Hour.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/Minute.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/Month.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/MonthName.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/Season.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/SeasonName.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/Second.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/Time.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/Week.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/Weekend.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Repeater/Year.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/lib/Horde/Date/Span.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/package.xml?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/test/Horde/Date/AllTests.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/test/Horde/Date/DateTest.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/test/Horde/Date/RecurrenceTest.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/test/Horde/Date/Repeater/DayNameTest.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/test/Horde/Date/Repeater/DayTest.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/test/Horde/Date/Repeater/HourTest.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/test/Horde/Date/Repeater/MonthNameTest.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/test/Horde/Date/Repeater/MonthTest.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/test/Horde/Date/Repeater/TimeTest.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/test/Horde/Date/Repeater/WeekTest.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/test/Horde/Date/Repeater/WeekendTest.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/test/Horde/Date/Repeater/YearTest.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/test/Horde/Date/SpanTest.php?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90
http://git.horde.org/co.php/framework/Date/test/Horde/Date/fixtures/bug2813.ics?rt=horde-git&r=f3baae109f1449d30e0061e3861ceb3e0feb1a90

-----------------------------------------------------------------------

commit f0ab1121db556b8169f2c6d6ae95bc79e59fda0e
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Fri May 29 21:00:46 2009 -0400

    use Y-M-D to initialize Horde dates, not seconds, since otherwise the test might be timezone-dependent

 framework/Date/test/Horde/Date/RecurrenceTest.php |   36 +++++++++++----------
 1 files changed, 19 insertions(+), 17 deletions(-)

http://git.horde.org/diff.php/framework/Date/test/Horde/Date/RecurrenceTest.php?rt=horde-git&r1=f3baae109f1449d30e0061e3861ceb3e0feb1a90&r2=f0ab1121db556b8169f2c6d6ae95bc79e59fda0e

-----------------------------------------------------------------------

commit c91ff377f46e73348f12e58261be4368c6cd7b5b
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Fri May 29 21:01:38 2009 -0400

    add toDays(), fromDays(), and diff() functions, and convert to PHP 5 style

 framework/Date/lib/Horde/Date.php |  343 +++++++++++++++++++++++++------------
 1 files changed, 236 insertions(+), 107 deletions(-)

http://git.horde.org/diff.php/framework/Date/lib/Horde/Date.php?rt=horde-git&r1=f3baae109f1449d30e0061e3861ceb3e0feb1a90&r2=c91ff377f46e73348f12e58261be4368c6cd7b5b

-----------------------------------------------------------------------

commit 9c2df974ffc6e502acf0a682d8fd827bb7387cf8
Author: Chuck Hagenbuch <chuck at horde.org>
Date:   Fri May 29 21:02:20 2009 -0400

    php 5 style

 framework/Date/lib/Horde/Date/Recurrence.php |  106 ++++++++++++--------------
 1 files changed, 50 insertions(+), 56 deletions(-)

http://git.horde.org/diff.php/framework/Date/lib/Horde/Date/Recurrence.php?rt=horde-git&r1=f3baae109f1449d30e0061e3861ceb3e0feb1a90&r2=9c2df974ffc6e502acf0a682d8fd827bb7387cf8




More information about the commits mailing list