using UnityEngine; using System.Collections.Generic; namespace HuaweiService.CloudFunction { public class TimeUnit_Data : IHmsBaseClass{ public string name => "java.util.concurrent.TimeUnit"; } public class TimeUnit :HmsClass { public static TimeUnit NANOSECONDS => HmsUtil.GetStaticValue("NANOSECONDS"); public static TimeUnit MICROSECONDS => HmsUtil.GetStaticValue("MICROSECONDS"); public static TimeUnit MILLISECONDS => HmsUtil.GetStaticValue("MILLISECONDS"); public static TimeUnit SECONDS => HmsUtil.GetStaticValue("SECONDS"); public static TimeUnit MINUTES => HmsUtil.GetStaticValue("MINUTES"); public static TimeUnit HOURS => HmsUtil.GetStaticValue("HOURS"); public static TimeUnit DAYS => HmsUtil.GetStaticValue("DAYS"); public TimeUnit (): base() { } public long convert(long arg0, TimeUnit arg1) { return Call("convert", arg0, arg1); } public void sleep(long arg0) { Call("sleep", arg0); } public void timedWait(AndroidJavaObject arg0, long arg1) { Call("timedWait", arg0, arg1); } public long toDays(long arg0) { return Call("toDays", arg0); } public long toHours(long arg0) { return Call("toHours", arg0); } public long toMicros(long arg0) { return Call("toMicros", arg0); } public long toMillis(long arg0) { return Call("toMillis", arg0); } public long toMinutes(long arg0) { return Call("toMinutes", arg0); } public long toNanos(long arg0) { return Call("toNanos", arg0); } public long toSeconds(long arg0) { return Call("toSeconds", arg0); } public static TimeUnit valueOf(string arg0) { return CallStatic("valueOf", arg0); } public static TimeUnit[] values() { return CallStatic("values"); } } }