added missing date & epoch to OS

This commit is contained in:
Djeeberjr 2021-12-07 15:45:35 +01:00
parent f252f6d587
commit fd0c1d8da4

View File

@ -24,6 +24,8 @@ extern class OS {
public static function cancelAlarm(id:Int):Void; public static function cancelAlarm(id:Int):Void;
public static function shutdown():Void; public static function shutdown():Void;
public static function reboot():Void; public static function reboot():Void;
public static function date(?format:String,?time:Int):Dynamic;
public static function epoch(?args:String):Int;
@:native("pullEvent") private static function _pullEvent(?type:String):Dynamic; @:native("pullEvent") private static function _pullEvent(?type:String):Dynamic;
@:native("pullEventRaw") private static function _pullEventRaw(?type:String):Dynamic; @:native("pullEventRaw") private static function _pullEventRaw(?type:String):Dynamic;