You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change vendor namespace from Period to League\Period
Comparing methods:
Period::sameValueAs,
Period::compareDuration,
Period::durationGreaterThan,
Period::durationLessThan,
Period::sameDurationAs,
Period::durationDiff
Modifying methods:
Period::add,
Period::sub,
Period::intersect
Fixed
Period::contains now works with Period objects
Period::getDuration accept an optional parameter $get_as_seconds if used and set to true, the method will return a integer which represents the duration in seconds.
Period::merge now accepts one or more Period objects to return the Period object which contains all submitted Period objects.