Landry Norris
06/21/2023, 9:52 PMLandry Norris
06/21/2023, 9:55 PMEmil Kantis
06/21/2023, 9:58 PMephemient
06/21/2023, 9:58 PM\u3383
πephemient
06/21/2023, 9:59 PMephemient
06/21/2023, 10:01 PMLandry 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 secondsephemient
06/21/2023, 10:05 PMKlitos Kyriacou
06/22/2023, 8:18 AMKlitos Kyriacou
06/22/2023, 8:23 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")