public class Utils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PACKAGE_BUILTIN |
static String |
STRUCT_TYPE_TIME |
static String |
STRUCT_TYPE_TIMEZONE |
static String |
TYPE_CONVERSION_ERROR_STRUCT |
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static BStruct |
createConversionError(Context context,
String msg) |
static BStruct |
createTimeStruct(StructInfo timezoneStructInfo,
StructInfo timeStructInfo,
long millis,
String zoneIdName) |
static BStruct |
createTimeZone(StructInfo timezoneStructInfo,
String zoneIdValue) |
static StructInfo |
getTimeStructInfo(Context context) |
static StructInfo |
getTimeZoneStructInfo(Context context) |
public static final String PACKAGE_BUILTIN
public static final String STRUCT_TYPE_TIME
public static final String STRUCT_TYPE_TIMEZONE
public static final String TYPE_CONVERSION_ERROR_STRUCT
public static BStruct createTimeZone(StructInfo timezoneStructInfo, String zoneIdValue)
public static BStruct createTimeStruct(StructInfo timezoneStructInfo, StructInfo timeStructInfo, long millis, String zoneIdName)
public static StructInfo getTimeZoneStructInfo(Context context)
public static StructInfo getTimeStructInfo(Context context)
Copyright © 2018 WSO2. All rights reserved.