Commit Graph
4 Commits
Author SHA1 Message Date
LeandroLP23andClaude Opus 5.5 b802c3c1e8 test(libSceNpCommon): cover sceNpRtcParseRFC3339
The NP RTC test checked formatting and POSIX conversion but never parsed.
Parse the Unix epoch in UTC and with a +01:30 offset, a time with a
fractional second, a formatted -05:00 time back to its tick, and reject a
string that is not a date.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-01 03:34:03 +01:00
hypermoistandClaude Opus 5.5 a70c6808bc test(libSceNpCommon): cover every sce::np::Time operator, clock and timeout edge
Rows from review. Time::FormatRFC3339 now forwards to sceNpRtcFormatRFC3339
with the arguments reordered, as the module does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 02:48:04 +13:00
hypermoistandClaude Opus 5.5 5ea3d73de9 feat(libSceNpCommon): implement sce::np::Time
The 35 exports of sce::np::Time (clocks, date-time conversion, the Add*
helpers, operator+, the timeout checks, RFC 3339 formatting and the 18
comparison operators) follow libSceNpCommon.sprx of firmware 13.60 (read
from disassembly, not measured on a console). Six were NotImplemented
stubs; the other 29 were not exported.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 01:56:06 +13:00
milescovielloandClaude Opus 5.5 65abce99bb test(libSceNpCommon): cover the NP RTC conversion to POSIX time and RFC 3339 formatting
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-26 18:02:07 +00:00