Skip to content
#

period

Here are 69 public repositories matching this topic...

brendt
brendt commented Jan 25, 2019

The length method always returns the length in days, instead of the precision of the period. An oversight by me. We're going to fix it and release a new major version.

My suggestion is the following:

  • Change length to return the length with the precision of that period,
  • Add helper methods lengthInDays, lengthInYears,...

One more thing I'm wondering about: should length retur

Improve this page

Add a description, image, and links to the period topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the period topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.