@nyamsprod nyamsprod released this Nov 17, 2017 · 77 commits to master since this release

Assets 2

Added

  • Period::withDurationBeforeEnd
  • Period::splitBackwards

Fixed

  • None

Deprecated

  • None

Removed

  • dropped support for HHVM

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

Assets 2

Added

Fixed

  • None

Deprecated

Removed

  • None

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

Assets 2

Added

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

Fixed

Deprecated

  • None

Removed

  • None

@nyamsprod nyamsprod released this Feb 12, 2016 · 120 commits to master since this release

Assets 2

Added

  • None

Fixed

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

Deprecated

  • None

Removed

  • None

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

Assets 2

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

@nyamsprod nyamsprod released this Dec 22, 2015 · 131 commits to master since this release

Assets 2

Added

  • None

Fixed

Deprecated

  • None

Removed

  • None

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

Assets 2

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

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

Assets 2

Fixed

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

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

Assets 2

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

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

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

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