Available on php
See also:
https://www.php.net/manual/en/class.datetimeinterface.php
@:phpClassConststaticfinalread onlyATOM:Int
@:phpClassConststaticfinalread onlyCOOKIE:Int
@:phpClassConststaticfinalread onlyISO8601:Int
@:phpClassConststaticfinalread onlyRFC1036:Int
@:phpClassConststaticfinalread onlyRFC1123:Int
@:phpClassConststaticfinalread onlyRFC2822:Int
@:phpClassConststaticfinalread onlyRFC3339:Int
@:phpClassConststaticfinalread onlyRFC3339_EXTENDED:Int
@:phpClassConststaticfinalread onlyRFC7231:Int
@:phpClassConststaticfinalread onlyRFC822:Int
@:phpClassConststaticfinalread onlyRFC850:Int
@:phpClassConststaticfinalread onlyRSS:Int
@:phpClassConststaticfinalread onlyW3C:Int
@:phpMagic__wakeup():Void
@:value({ absolute : false })diff(targetObject:DateTimeInterface, absolute:Bool = false):EitherType<DateInterval, Bool>
format(format:String):EitherType<String, Bool>
getOffset():EitherType<Int, Bool>
getTimestamp():Int
getTimezone():EitherType<DateTimeZone, Bool>