Page MenuHomeDevCentral

Allow to manipulate time ranges and check overlaps
ClosedPublic

Authored by dereckson on May 18 2018, 01:51.
Tags
None
Referenced Files
F3934831: D1641.id4190.diff
Mon, Dec 23, 06:28
Unknown Object (File)
Thu, Dec 19, 20:26
Unknown Object (File)
Thu, Dec 19, 19:53
Unknown Object (File)
Thu, Dec 19, 04:57
Unknown Object (File)
Thu, Dec 19, 03:09
Unknown Object (File)
Sun, Dec 15, 18:35
Unknown Object (File)
Thu, Dec 12, 12:28
Unknown Object (File)
Thu, Dec 12, 09:35
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)".Nov 10 2024, 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.Nov 10 2024, 12:10