Skip to content
Snippets Groups Projects
Commit b24a63e7 authored by Jared Hancock's avatar Jared Hancock
Browse files

test: Add stubs for DateTime classes

parent fa639636
No related branches found
No related tags found
No related merge requests found
......@@ -49,4 +49,36 @@ class Exception {
function getTraceAsString() {}
}
class DateTime {
function add() {}
static function createFromFormat () {}
static function getLastErrors() {}
function modify() {}
function setDate() {}
function setISODate() {}
function setTime() {}
function setTimestamp() {}
function setTimezone() {}
function sub() {}
function diff() {}
function format() {}
function getOffset() {}
function getTimestamp() {}
function getTimezone() {}
}
class DateInterval {
static function createFromDateString() {}
function format() {}
}
class DateTimeZone {
function getLocation() {}
function getName() {}
function getOffset() {}
function getTransitions() {}
static function listAbbreviations() {}
static function listIdentifiers() {}
}
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment