|
|
@@ -153,6 +153,15 @@ public class NativeMethods
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @SuppressWarnings(Const.JNI_METHOD_SUPPRESS)
|
|
|
+ public static String getFormattedDateTime()
|
|
|
+ {
|
|
|
+ String currentDate = new SimpleDateFormat((new SimpleDateFormat()).toLocalizedPattern(), Locale.getDefault()).format(new Date());
|
|
|
+ String currentTime = new SimpleDateFormat("HH:mm:ss", Locale.getDefault()).format(new Date());
|
|
|
+
|
|
|
+ return currentDate + " " + currentTime;
|
|
|
+ }
|
|
|
+
|
|
|
private static void internalProgressDisplay(final boolean show)
|
|
|
{
|
|
|
final Context ctx = SDL.getContext();
|