Skip to content

Commit

Permalink
tidyup
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwilliams committed Nov 12, 2024
1 parent 9fa922f commit 57b8c46
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 48 deletions.
12 changes: 0 additions & 12 deletions core/engine/src/builtins/temporal/plain_date/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,6 @@ impl PlainDate {
}
}

// impl IsoDateSlots for JsObject<PlainDate> {
// fn iso_date(&self) -> temporal_rs::iso::IsoDate {
// self.borrow().data().inner.iso_date()
// }
// }

// impl GetTemporalCalendar for JsObject<PlainDate> {
// fn get_calendar(&self) -> Calendar {
// self.borrow().data().inner.get_calendar()
// }
// }

impl BuiltInObject for PlainDate {
const NAME: JsString = StaticJsStrings::PLAIN_DATE_NAME;
}
Expand Down
12 changes: 0 additions & 12 deletions core/engine/src/builtins/temporal/plain_date_time/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,6 @@ impl PlainDateTime {
}
}

// impl IsoDateSlots for JsObject<PlainDateTime> {
// fn iso_date(&self) -> IsoDate {
// self.borrow().data().inner.iso_date()
// }
// }

// impl GetTemporalCalendar for JsObject<PlainDateTime> {
// fn get_calendar(&self) -> Calendar {
// self.borrow().data().inner.get_calendar()
// }
// }

impl BuiltInObject for PlainDateTime {
const NAME: JsString = StaticJsStrings::PLAIN_DATETIME_NAME;
}
Expand Down
12 changes: 0 additions & 12 deletions core/engine/src/builtins/temporal/plain_month_day/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,18 +115,6 @@ impl PlainMonthDay {
}
}

// impl IsoDateSlots for JsObject<PlainMonthDay> {
// fn iso_date(&self) -> temporal_rs::iso::IsoDate {
// self.borrow().data().inner.iso_date()
// }
// }

// impl GetTemporalCalendar for JsObject<PlainMonthDay> {
// fn get_calendar(&self) -> Calendar {
// self.borrow().data().inner.get_calendar()
// }
// }

impl BuiltInObject for PlainMonthDay {
const NAME: JsString = StaticJsStrings::PLAIN_MD_NAME;
}
Expand Down
12 changes: 0 additions & 12 deletions core/engine/src/builtins/temporal/plain_year_month/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,6 @@ impl PlainYearMonth {
}
}

// impl IsoDateSlots for JsObject<PlainYearMonth> {
// fn iso_date(&self) -> temporal_rs::iso::IsoDate {
// self.borrow().data().inner.iso_date()
// }
// }

// impl GetTemporalCalendar for JsObject<PlainYearMonth> {
// fn get_calendar(&self) -> InnerCalendar {
// self.borrow().data().inner.get_calendar()
// }
// }

impl BuiltInObject for PlainYearMonth {
const NAME: JsString = StaticJsStrings::PLAIN_YM_NAME;
}
Expand Down

0 comments on commit 57b8c46

Please sign in to comment.