Class goog.testing.TestCase.protectedDate_
code »Save a reference to window.Date
, so any code that overrides
the default behavior doesn't affect our runner.
Constructor
Instance Methods
code »getFullYear ( ) ⇒ number
number
code »getMilliseconds ( ) ⇒ number
number
code »getMinutes ( ) ⇒ number
number
code »getSeconds ( ) ⇒ number
number
code »getUTCDate ( ) ⇒ number
number
code »getUTCFullYear ( ) ⇒ number
number
code »getUTCHours ( ) ⇒ number
number
code »getUTCMinutes ( ) ⇒ number
number
code »getUTCMonth ( ) ⇒ number
number
code »getUTCSeconds ( ) ⇒ number
number
code »setFullYear ( yearValue, opt_monthValue, opt_dayValue )Sets the full year for a specified date according to local time.
Parameters |
---|
|
code »setMilliseconds ( millisecondsValue )Sets the milliseconds for a specified date according to local time.
Parameters |
---|
|
code »setMinutes ( minutesValue, opt_secondsValue, opt_msValue )Sets the minutes for a specified date according to local time.
Parameters |
---|
|
code »setSeconds ( secondsValue, opt_msValue )Sets the seconds for a specified date according to local time.
Parameters |
---|
|
code »setUTCDate ( dayValue )Sets the day of the month for a specified date according to universal time.
Parameters |
---|
|
code »setUTCFullYear ( yearValue, opt_monthValue, opt_dayValue )Sets the full year for a specified date according to universal time.
Parameters |
---|
|
code »setUTCHours ( hoursValue, opt_minutesValue, opt_secondsValue, opt_msValue )Sets the hour for a specified date according to universal time.
Parameters |
---|
|
code »setUTCMilliseconds ( millisecondsValue )Sets the milliseconds for a specified date according to universal time.
Parameters |
---|
|
code »setUTCMinutes ( minutesValue, opt_secondsValue, opt_msValue )Sets the minutes for a specified date according to universal time.
Parameters |
---|
|
code »setUTCMonth ( monthValue, opt_dayValue )Sets the month for a specified date according to universal time.
Parameters |
---|
|
code »setUTCSeconds ( secondsValue, opt_msValue )Sets the seconds for a specified date according to universal time.
Parameters |
---|
|
code »toDateString ( ) ⇒ string
string
code »toGMTString ( ) ⇒ string
string
code »toISOString ( ) ⇒ string
string
code »toLocaleDateString ( opt_locales, opt_options ) ⇒ string
string
Parameters |
---|
|
code »toLocaleFormat ( formatString ) ⇒ string
string
Parameters |
---|
|
code »toLocaleString ( ) ⇒ string
string
code »toLocaleTimeString ( opt_locales, opt_options ) ⇒ string
string
Parameters |
---|
|
code »toTimeString ( ) ⇒ string
string
code »toUTCString ( ) ⇒ string
string