mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-19 07:51:26 +00:00
binding for Date.prototype.getUTCMinutes()
This commit is contained in:
@ -926,6 +926,12 @@ extern "C" {
|
||||
#[wasm_bindgen(method, js_name = getUTCMilliseconds)]
|
||||
pub fn get_utc_milliseconds(this: &Date) -> u32;
|
||||
|
||||
/// The getUTCMinutes() method returns the minutes in the specified date according to universal time.
|
||||
///
|
||||
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCMinutes
|
||||
#[wasm_bindgen(method, js_name = getUTCMinutes)]
|
||||
pub fn get_utc_minutes(this: &Date) -> u32;
|
||||
|
||||
/// Creates a JavaScript Date instance that represents
|
||||
/// a single moment in time. Date objects are based on a time value that is
|
||||
/// the number of milliseconds since 1 January 1970 UTC.
|
||||
|
Reference in New Issue
Block a user