summaryrefslogtreecommitdiffstats
path: root/library/cpp/yson/node/node_ut.cpp
diff options
context:
space:
mode:
authorswarmer <[email protected]>2025-10-03 20:25:26 +0300
committerswarmer <[email protected]>2025-10-03 20:50:00 +0300
commit08d7ed83f95bdff4ddd3fd1b05b16d12f6bedbb1 (patch)
treee7c89fa017ee7154ef1a16761d4e9fa4d816e785 /library/cpp/yson/node/node_ut.cpp
parente8e38bf51bdfebc163b2fa9310c302f4f9e1c720 (diff)
TDuration/TInstant named constructors should return staturated value on overflow
`TDuration::Seconds(sec)` now returns `TDuration::Max()` if `sec` is greater than the largest representable value. Previously, a silent wrap-around could produce a significantly shorter interval (even a zero one). commit_hash:552fde08fa3b8201ede23894bb363df2d6bbd5af
Diffstat (limited to 'library/cpp/yson/node/node_ut.cpp')
0 files changed, 0 insertions, 0 deletions