Skip to content

#150 add support for duration - #151

Open
vfrank66 wants to merge 3 commits into
google:mainfrom
vfrank66:issue_150-add-support-for-duration
Open

vfrank66 wants to merge 3 commits into
google:mainfrom
vfrank66:issue_150-add-support-for-duration

Conversation

@vfrank66

@vfrank66 vfrank66 commented Jul 1, 2025

Copy link
Copy Markdown
Contributor

No description provided.

Restore the YEAR and MONTH cases of dateTimeDifference so difference in
_precision_ between counts boundaries again. Duration now uses its own
dateTimeDuration helper: whole calendar months and years truncated toward
zero, and whole elapsed periods from UnixMilli for weeks and finer, which
does not saturate like time.Sub. Uncertainty is now only reported when an
operand is coarser than the requested precision, and the duration of an
interval shares the same path, including week precision for Dates.
@vfrank66
vfrank66 force-pushed the issue_150-add-support-for-duration branch from f6a6e25 to 3ad0f1a Compare October 11, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant