2017 © Pedro Peláez
 

library date

Library that extends the PHP date class

image

fadoe/date

Library that extends the PHP date class

  • Tuesday, October 10, 2017
  • by fadoe
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3,418 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 2 % Grown

The README.md

FaDoe\Date

This library provides some classes for date handling in PHP., (*1)

Installation

Use composer to install this library:, (*2)

composer.phar require fadoe/date

Usage

Compare

Compare is a class to compare \DateTime classes. You must create a instance with the \DateTime to compare against other \DateTime classes., (*3)

There are several compare methods:, (*4)

constant compare strategy
Compare::GT_FROM_LT_TO date from < compare date < date to
Compare::GT_FROM_LTEQ_TO date from < compare date <= date to
Compare::GTEQ_FROM_LT_TO date from <= compare date < date to
Compare::GTEQ_FROM_LTEQ_TO date from <= compare date <= date to

DateRange

This class creates \DateTime classes between two dates., (*5)

DateTimeProvider

A class to give some \DateTime classes. Usefull for classes that need the current date for calculation. With this class you have a provider for dates and you can mock this in unit tests., (*6)

The Versions

10/10 2017

dev-master

9999999-dev https://github.com/fadoe/fadoe-date

Library that extends the PHP date class

  Sources   Download

BSD-3-Clause

The Requires

  • php >=7.0.0

 

The Development Requires

by Falk Doering

10/10 2017

0.8.0

0.8.0.0 https://github.com/fadoe/fadoe-date

Library that extends the PHP date class

  Sources   Download

BSD-3-Clause

The Requires

  • php >=7.0.0

 

by Falk Doering

06/05 2015

0.7.0

0.7.0.0 https://github.com/fadoe/fadoe-date

Library that extends the PHP date class

  Sources   Download

BSD-3-Clause

The Development Requires

by Falk Doering

28/01 2015

0.6.0

0.6.0.0 https://github.com/fadoe/fadoe-date

Library that extends the PHP date class

  Sources   Download

BSD-3-Clause

The Development Requires

by Falk Doering

03/05 2014

0.5.0

0.5.0.0 https://github.com/fadoe/fadoe-date

Library that extends the PHP date class

  Sources   Download

BSD-3-Clause

The Development Requires

by Falk Doering

13/04 2014

0.4.0

0.4.0.0 https://github.com/fadoe/fadoe-date

Library that extends the PHP date class

  Sources   Download

BSD-3-Clause

The Development Requires

by Falk Doering

23/09 2013

0.3.0

0.3.0.0 https://github.com/fadoe/fadoe-date

Library that extends the PHP date class

  Sources   Download

BSD-3-Clause

The Development Requires

by Falk Doering

19/09 2013

0.2.0

0.2.0.0 https://github.com/fadoe/fadoe-date

Library that extends the PHP date class

  Sources   Download

BSD-3-Clause

The Development Requires

by Falk Doering

17/09 2013

0.1.0

0.1.0.0 https://github.com/fadoe/fadoe-date

Library that extends the PHP date class

  Sources   Download

BSD-3-Clause

The Development Requires

by Falk Doering