From fd0c1d8da434bac1db603d4c6a081dc903b7b837 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Tue, 7 Dec 2021 15:45:35 +0100 Subject: [PATCH] added missing date & epoch to OS --- 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;