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
numbercode »getMilliseconds ( ) ⇒ number
numbercode »getMinutes ( ) ⇒ number
numbercode »getSeconds ( ) ⇒ number
numbercode »getUTCDate ( ) ⇒ number
numbercode »getUTCFullYear ( ) ⇒ number
numbercode »getUTCHours ( ) ⇒ number
numbercode »getUTCMinutes ( ) ⇒ number
numbercode »getUTCMonth ( ) ⇒ number
numbercode »getUTCSeconds ( ) ⇒ number
numbercode »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
stringcode »toGMTString ( ) ⇒ string
stringcode »toISOString ( ) ⇒ string
stringcode »toLocaleDateString ( opt_locales, opt_options ) ⇒ string
string| Parameters |
|---|
|
code »toLocaleFormat ( formatString ) ⇒ string
string| Parameters |
|---|
|
code »toLocaleString ( ) ⇒ string
stringcode »toLocaleTimeString ( opt_locales, opt_options ) ⇒ string
string| Parameters |
|---|
|
code »toTimeString ( ) ⇒ string
stringcode »toUTCString ( ) ⇒ string
string