binding for Date.prototype.setMinutes()

This commit is contained in:
toversus
2018-07-10 21:20:18 +09:00
parent 11a58a1bd0
commit a81827caf9
2 changed files with 45 additions and 0 deletions

View File

@ -1048,6 +1048,12 @@ extern "C" {
#[wasm_bindgen(method, js_name = setMilliseconds)]
pub fn set_milliseconds(this: &Date, milliseconds: u32) -> f64;
/// The setMinutes() method sets the minutes for a specified date according to local time.
///
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setMinutes
#[wasm_bindgen(method, js_name = setMinutes)]
pub fn set_minutes(this: &Date, minutes: u32) -> f64;
/// The toDateString() method returns the date portion of a Date object
/// in human readable form in American English.
///