Landry Norris
06/21/2023, 9:52 PMEmil Kantis
06/21/2023, 9:58 PMephemient
06/21/2023, 9:58 PM\u3383
🙂Landry Norris
06/21/2023, 10:01 PMEmil Kantis
06/21/2023, 10:03 PMephemient
06/21/2023, 10:04 PMcurrentLimitMillis
, similar to many time-based APIs using toMillis()
etc. assuming that it's simply understood to be multiples of secondsKlitos Kyriacou
06/22/2023, 8:18 AMhttp://xahlee.info/comp/unicode_units.html if you want to try my initial non-serious answerWow, I never knew there were so many symbols, and all this time I've been writing "a.m." and "p.m." instead of "㏂" and "㏘". By the way, I don't think "㏙" is related to time - I know it as "parts per million" as used in chemistry.
Rob Elliot
06/22/2023, 8:38 AMbut for real, I'd consider a wrapper class that conveys the SI unit👍 I love
java.time.Duration
precisely because you stop worrying about the units. No more timeoutMillis
, you can just call it timeout
.
(Staggering number of libraries just call it timeout
and use a Long as the type, of course... and have documentation that helpfully explains this represents "the time before the operation will fail")