Page MenuHomeDevCentral

Allow to manipulate time ranges and check overlaps
ClosedPublic

Authored by dereckson on May 18 2018, 01:51.
Tags
None
Referenced Files
F3751521: D1641.id.diff
Sun, Nov 17, 09:45
F3750857: D1641.id9223.diff
Sun, Nov 17, 04:00
F3750662: D1641.diff
Sun, Nov 17, 02:33
Unknown Object (File)
Tue, Nov 12, 09:32
Unknown Object (File)
Tue, Nov 12, 03:40
Unknown Object (File)
Tue, Nov 12, 02:24
Unknown Object (File)
Tue, Nov 12, 02:23
Unknown Object (File)
Tue, Nov 12, 01:01
Subscribers
None

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningomnitools/src/DateTime/TimeRange.php:28PHPCS.W.Generic.Files.LineLength.TooLongGeneric.Files.LineLength.TooLong
Unit
Test Failures
Branch
omnitools-date-time-range
Build Status
Buildable 5682
Build 5964: arc lint + arc unit

Unit TestsBroken

TimeTest
0 ms/home/dereckson/dev/keruald/_monorepo/core/omnitools/tests/DateTime/TimeRangeTest.php
21 msKeruald\OmniTools\Tests\DateTime\TimeTest
Keruald\OmniTools\Tests\DateTime\TimeTest::testParse Error: Non-static method Keruald\OmniTools\DateTime\Time::parse() cannot be called statically

Event Timeline

dereckson created this revision.
dereckson changed the visibility from "Public (No Login Required)" to "All Users".May 18 2018, 01:52

Explain why we provide those ranges.

src/DateTime/Time.php
47 ↗(On Diff #4186)

static

src/DateTime/TimeRange.php
37 ↗(On Diff #4186)

static

Should be rebased and resubmitted against rKERUALD repository.

src/DateTime/Time.php
48 ↗(On Diff #4190)

17h23m14s to parse too¿

dereckson changed the visibility from "All Users" to "Public (No Login Required)".Sun, Nov 10, 11:04

Rebased against current rKOT HEAD

static, count time range minutes, add tests, update to PHPUnit 10

Simplify TimeRange::countMinutes

Generic.Files.LineLength.MaxExceeded

This revision is now accepted and ready to land.Sun, Nov 10, 12:10