作者:念毅掷 | 来源:互联网 | 2023-09-23 19:21
Addedmissingdurationunitshortnamesthataresupportedinscala.concurrent.duration.
Added missing duration unit short names that are supported in scala.concurrent.duration.DurationConversions, namely nano, nanos, micro, micros, milli and millis.
Also added a few more shorthands for hours, minutes and seconds, hr, hrs, min, mins, sec and secs. I'll revert the addition of these extra shorthands if people are not happy with them.
该提问来源于开源项目:lightbend/config
thanks!