From 29c42f5a0b9f97f85d779a2511a46f72c7ebbcb3 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Tue, 21 Dec 2021 13:29:16 +0100 Subject: [PATCH] added missing date & epoch --- src/cc/OS.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cc/OS.hx b/src/cc/OS.hx index 4dd02ad..3525c81 100644 --- a/src/cc/OS.hx +++ b/src/cc/OS.hx @@ -24,6 +24,8 @@ extern class OS { public static function cancelAlarm(id:Int):Void; public static function shutdown():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("pullEventRaw") private static function _pullEventRaw(?type:String):Dynamic;