Duration: getSeconds vs toSeconds

前端 未结 0 1833
情深已故
情深已故 2020-12-23 16:56

Duration has methods toMinutes, toSeconds, toHours, etc.

There are also getNano and getSeconds methods.

Why do we need them?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题