public final class Utils_Time extends Utils
Modifier and Type | Method and Description |
---|---|
static byte[] |
getCurrentTime()
Returns the current time as a byte array, useful for implementing
BleServices.currentTime() for example. |
static FutureData |
getFutureLocalTimeInfo()
FutureData wrapper of getLocalTimeInfo() . |
static FutureData |
getFutureTime()
FutureData wrapper of getCurrentTime() . |
static byte[] |
getLocalTimeInfo()
Returns the local time info as a byte array, useful for implementing
BleServices.currentTime() for example. |
contains, doForEach_break, doForEach_break, hasManifestPermission, hasPermission, haveMatchingIds, haveMatchingName, isAndroid10, isKitKat, isLocationEnabledForScanning_byManifestPermissions, isLocationEnabledForScanning_byOsServices, isLocationEnabledForScanning_byRuntimePermissions, isLocationEnabledForScanning, isLollipop, isManufacturer, isMarshmallow, isNougat, isOnMainThread, isOreo, isProduct, isSuccess, phoneHasBondingIssues, refreshGatt
public static FutureData getFutureTime()
FutureData
wrapper of getCurrentTime()
.public static byte[] getCurrentTime()
BleServices.currentTime()
for example.public static FutureData getFutureLocalTimeInfo()
FutureData
wrapper of getLocalTimeInfo()
.public static byte[] getLocalTimeInfo()
BleServices.currentTime()
for example.