version 3.3.0

@nyamsprod nyamsprod released this Sep 19, 2016 · 6 commits to master since this release

Added

Fixed

  • None

Deprecated

Removed

  • None

Downloads

version 3.2.0

@nyamsprod nyamsprod released this May 9, 2016 · 20 commits to master since this release

Added

  • Period::__set_state
  • autoloader to use the library without composer

Fixed

Deprecated

  • None

Removed

  • None

Downloads

version 3.1.1

@nyamsprod nyamsprod released this Feb 10, 2016 · 30 commits to master since this release

Added

  • None

Fixed

  • Period::contains see issue #31
  • microseconds are taken into account when converting DateTimeInterface objects.

Deprecated

  • None

Removed

  • None

Downloads

version 3.1.0

@nyamsprod nyamsprod released this Feb 1, 2016 · 33 commits to master since this release

Added

  • Period::createFromDay

Fixed

  • Period::getDatePeriod adding the $option parameter
  • DateTime to DateTimeImmutable convertion improved for PHP 5.6+ version
  • Bumped version requirement to PHP 5.5.9 because of a bug in DatePeriod constructor

Deprecated

  • None

Removed

  • None

Downloads

version 3.0.1

@nyamsprod nyamsprod released this Dec 21, 2015 · 41 commits to master since this release

Added

  • None

Fixed

Deprecated

  • None

Removed

  • None

Downloads

version 3.0.0

@nyamsprod nyamsprod released this Sep 2, 2015 · 44 commits to master since this release

Added

  • Period implements the JsonSerializable interface
  • Period can now be extended

Fixed

  • Period always returns DateTimeImmutable objects
  • Period::split returns a Generator
  • Period::merge no longer throws RuntimeException

Deprecated

  • None

Removed

  • support for PHP 5.4
  • Period::getStart
  • Period::getEnd
  • Period::getRange
  • Period::duration
  • Period::durationDiff

Downloads

version 2.5.1

@nyamsprod nyamsprod released this Mar 6, 2015 · 97 commits to master since this release

Fixed

  • Period always returns DateTime objects even when given DateTimeImmutable objects.

Downloads

version 2.5.0

@nyamsprod nyamsprod released this Mar 6, 2015 · 98 commits to master since this release

Added

  • Period::split to split a Period object into smaller Period objects #16

Fixed

  • DateInterval validation when created from an integer.

Remove

  • support for PHP 5.3

Please refers to the documentation or the library CHANGELOG for more details

Downloads

version 2.4.0

@nyamsprod nyamsprod released this Dec 18, 2014 · 142 commits to master since this release

  • Added Period::diff
  • Added support for the DateTimeInterface

Please refers to the documentation or the library CHANGELOG for more details

Downloads

version 2.3.0

@nyamsprod nyamsprod released this Dec 15, 2014 · 147 commits to master since this release

  • Added : Period::createFromDurationBeforeEnd
  • Bug Fixed : Period::isBefore and Period::isAfter
  • Internal code improved

Please refers to the documentation or the library CHANGELOG for more details

Downloads