Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking issue for Duration component #11

Open
17 of 23 tasks
nekevss opened this issue Feb 7, 2024 · 0 comments
Open
17 of 23 tasks

Tracking issue for Duration component #11

nekevss opened this issue Feb 7, 2024 · 0 comments
Labels
C-tracking-issue Issues tracking a set of tasks that need to be done
Milestone

Comments

@nekevss
Copy link
Member

nekevss commented Feb 7, 2024

Below is the functionality needed for the Duration component.

  • 7.3.3 get Temporal.Duration.prototype.years
  • 7.3.4 get Temporal.Duration.prototype.months
  • 7.3.5 get Temporal.Duration.prototype.weeks
  • 7.3.6 get Temporal.Duration.prototype.days
  • 7.3.7 get Temporal.Duration.prototype.hours
  • 7.3.8 get Temporal.Duration.prototype.minutes
  • 7.3.9 get Temporal.Duration.prototype.seconds
  • 7.3.10 get Temporal.Duration.prototype.milliseconds
  • 7.3.11 get Temporal.Duration.prototype.microseconds
  • 7.3.12 get Temporal.Duration.prototype.nanoseconds
  • 7.3.13 get Temporal.Duration.prototype.sign
  • 7.3.14 get Temporal.Duration.prototype.blank (implemented as is_zero)
  • 7.3.15 Temporal.Duration.prototype.with ( temporalDurationLike )
  • 7.3.16 Temporal.Duration.prototype.negated ( )
  • 7.3.17 Temporal.Duration.prototype.abs ( )
  • 7.3.18 Temporal.Duration.prototype.add ( other [ , options ] )
  • 7.3.19 Temporal.Duration.prototype.subtract ( other [ , options ] )
  • 7.3.20 Temporal.Duration.prototype.round ( roundTo )
  • 7.3.21 Temporal.Duration.prototype.total ( totalOf )
  • 7.3.22 Temporal.Duration.prototype.toString ( [ options ] )
  • 7.3.23 Temporal.Duration.prototype.toJSON ( )
  • 7.3.24 Temporal.Duration.prototype.toLocaleString ( [ locales [ , options ] ] )
  • 7.3.25 Temporal.Duration.prototype.valueOf ( )
@nekevss nekevss added the C-tracking-issue Issues tracking a set of tasks that need to be done label Feb 7, 2024
@nekevss nekevss added this to the 0.1 Blocking milestone Feb 7, 2024
nekevss added a commit that referenced this issue Jul 7, 2024
Related to ongoing work for #11

As it says in the title, implementing the add and subtract methods for
duration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Issues tracking a set of tasks that need to be done
Projects
None yet
Development

No branches or pull requests

1 participant