Time consts in Java?

前端 未结 13 601
遇见更好的自我
遇见更好的自我 2020-12-23 15:45

Is there a Java package with all the annoying time constants like milliseconds/seconds/minutes in a minute/hour/day/year? I\'d hate to duplicate something like that.

相关标签:
13条回答
  • 2020-12-23 16:42

    I doubt it, because they aren't all constants. The number of milliseconds for a year varies, right?

    0 讨论(0)
提交回复
热议问题