Skip to content

Commit

Permalink
add some temporal methods (#3856)
Browse files Browse the repository at this point in the history
* lazy builtins

* Bump temporal_rs to latest commit

* Fix build

* Begining of plainYearMonth methods

* plainYearMonth: get_in_leap_year, get_months_in_year

* plain_year_month: implement add/subtract

* Addition of MonthDay methods

* toString implementations

* some changes to migrate to FiniteF64

* - bump the temporal version
- Move with implementation to to_temporal_month_day
- review comments

* switch to using as_inner() instead of from
Also use let _ to appease new clippy rules

* get the calendarID from the object

* update temporal ref

* Revert "lazy builtins"

This reverts commit a4e602d.

* changes from review comments

---------

Co-authored-by: jedel1043 <[email protected]>
  • Loading branch information
jasonwilliams and jedel1043 authored Aug 13, 2024
1 parent 4e3f660 commit 5ee0dc1
Show file tree
Hide file tree
Showing 6 changed files with 561 additions and 154 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ intrusive-collections = "0.9.6"
cfg-if = "1.0.0"
either = "1.13.0"
sys-locale = "0.3.1"
temporal_rs = { git = "https://github.com/boa-dev/temporal.git", rev = "8ef18fedc401761875b815a692443bf54ce9bd96" }
temporal_rs = { git = "https://github.com/boa-dev/temporal.git", rev = "af94bbc31d409a2bfdce473e667e08e16c677149" }
web-time = "1.1.0"
criterion = "0.5.1"
float-cmp = "0.9.0"
Expand Down
Loading

0 comments on commit 5ee0dc1

Please sign in to comment.