2017 © Pedro Peláez
 

library when

Date/Calendar recursion library.

image

mynameiszanders/when

Date/Calendar recursion library.

  • Tuesday, April 29, 2014
  • by zanderbaldwin
  • Repository
  • 1 Watchers
  • 3 Stars
  • 7,011 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 76 Forks
  • 3 Open issues
  • 8 Versions
  • 6 % Grown

The README.md

When Build Status

A PHP library, managed by Composer, for RFC-2445 RRule date recursion; version 1.0.3., (*1)

Author: Zander Baldwin
Original Author: Tom Planer, (*2)

Original README

About

The second version of When., (*3)

Current Features

Currently this version does everything version 1 was capable of, it also supports byhour, byminute, and bysecond. Please check the unit tests for information about how to use it., (*4)

I will be replacing version 1 with this as soon as I complete the documentation. Until then here are some simple examples:, (*5)

// friday the 13th for the next 5 occurences
$r = new When();
$r->startDate(new DateTime("19980213T090000"))
  ->freq("monthly")
  ->count(5)
  ->byday("fr")
  ->bymonthday(13)
  ->generateOccurences();

print_r($r->occurences);



// friday the 13th for the next 5 occurences rrule
$r = new When();
$r->startDate(new DateTime("19980213T090000"))
  ->rrule("FREQ=MONTHLY;BYDAY=FR;BYMONTHDAY=13")
  ->generateOccurences();

print_r($r->occurences);

License

When is licensed under the MIT License, see LICENSE for specific details., (*6)

The Versions

29/04 2014

dev-develop

dev-develop https://github.com/mynameiszanders/when

Date/Calendar recursion library.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

calendar date time datetime recurrence recursion

07/03 2014

dev-master

9999999-dev https://github.com/mynameiszanders/when

Date/Calendar recursion library.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

calendar date time datetime recurrence recursion

07/03 2014

1.0.3

1.0.3.0 https://github.com/mynameiszanders/when

Date/Calendar recursion library.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

calendar date time datetime recurrence recursion

13/11 2013

1.0.2

1.0.2.0 https://github.com/mynameiszanders/when

Date/Calendar recursion library.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

calendar date time datetime recurrence recursion

13/11 2013

1.0.1

1.0.1.0 https://github.com/mynameiszanders/when

Date/Calendar recursion library.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

calendar date time datetime recurrence recursion

11/11 2013

1.0.0

1.0.0.0 https://github.com/mynameiszanders/when

Date/Calendar recursion library.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

calendar date time datetime recurrence recursion

17/09 2013

0.4.1

0.4.1.0 https://github.com/mynameiszanders/when

Date/Calendar recursion library.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

date time datetime recurrence recursion

17/09 2013

0.4

0.4.0.0 https://github.com/mynameiszanders/when

Date/Calendar recursion library.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

date time datetime recurrence recursion