mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-11 17:41:26 -06:00
Update getTimezoneOffset JSDoc (#58004)
This commit is contained in:
parent
32dfb3752f
commit
e0d9d460a8
2
src/lib/es5.d.ts
vendored
2
src/lib/es5.d.ts
vendored
@ -800,7 +800,7 @@ interface Date {
|
||||
getMilliseconds(): number;
|
||||
/** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */
|
||||
getUTCMilliseconds(): number;
|
||||
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
|
||||
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
|
||||
getTimezoneOffset(): number;
|
||||
/**
|
||||
* Sets the date and time value in the Date object.
|
||||
|
||||
@ -663,7 +663,7 @@ interface Date {
|
||||
getMilliseconds(): number;
|
||||
/** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */
|
||||
getUTCMilliseconds(): number;
|
||||
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
|
||||
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
|
||||
getTimezoneOffset(): number;
|
||||
/**
|
||||
* Sets the date and time value in the Date object.
|
||||
|
||||
@ -1035,7 +1035,7 @@ interface Date {
|
||||
getUTCMilliseconds(): number;
|
||||
>getUTCMilliseconds : Symbol(Date.getUTCMilliseconds, Decl(1.0lib-noErrors.ts, 659, 30))
|
||||
|
||||
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
|
||||
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
|
||||
getTimezoneOffset(): number;
|
||||
>getTimezoneOffset : Symbol(Date.getTimezoneOffset, Decl(1.0lib-noErrors.ts, 661, 33))
|
||||
|
||||
|
||||
@ -1212,7 +1212,7 @@ interface Date {
|
||||
>getUTCMilliseconds : () => number
|
||||
> : ^^^^^^
|
||||
|
||||
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
|
||||
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
|
||||
getTimezoneOffset(): number;
|
||||
>getTimezoneOffset : () => number
|
||||
> : ^^^^^^
|
||||
|
||||
@ -661,7 +661,7 @@ interface Date {
|
||||
getMilliseconds(): number;
|
||||
/** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */
|
||||
getUTCMilliseconds(): number;
|
||||
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
|
||||
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
|
||||
getTimezoneOffset(): number;
|
||||
/**
|
||||
* Sets the date and time value in the Date object.
|
||||
|
||||
2
tests/lib/lib.d.ts
vendored
2
tests/lib/lib.d.ts
vendored
@ -695,7 +695,7 @@ interface Date {
|
||||
getMilliseconds(): number;
|
||||
/** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */
|
||||
getUTCMilliseconds(): number;
|
||||
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */
|
||||
/** Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer. */
|
||||
getTimezoneOffset(): number;
|
||||
/**
|
||||
* Sets the date and time value in the Date object.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user