public final class android.text.format.Formatter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: android.text.format.Formatter
super_class: java.lang.Object
{
public static final int FLAG_SHORTER;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int FLAG_CALCULATE_ROUNDED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int FLAG_SI_UNITS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int FLAG_IEC_UNITS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final int SECONDS_PER_MINUTE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 60
private static final int SECONDS_PER_HOUR;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3600
private static final int SECONDS_PER_DAY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 86400
private static final int MILLIS_PER_MINUTE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 60000
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/text/format/Formatter;
private static java.util.Locale localeFromContext(android.content.Context);
descriptor: (Landroid/content/Context;)Ljava/util/Locale;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual android.content.Context.getResources:()Landroid/content/res/Resources;
invokevirtual android.content.res.Resources.getConfiguration:()Landroid/content/res/Configuration;
invokevirtual android.content.res.Configuration.getLocales:()Landroid/os/LocaleList;
iconst_0
invokevirtual android.os.LocaleList.get:(I)Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Landroid/content/Context;
MethodParameters:
Name Flags
context
private static java.lang.String bidiWrap(android.content.Context, java.lang.String);
descriptor: (Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic android.text.format.Formatter.localeFromContext:(Landroid/content/Context;)Ljava/util/Locale;
astore 2
start local 2 1: aload 2
invokestatic android.text.TextUtils.getLayoutDirectionFromLocale:(Ljava/util/Locale;)I
iconst_1
if_icmpne 3
2: iconst_1
invokestatic android.text.BidiFormatter.getInstance:(Z)Landroid/text/BidiFormatter;
aload 1
invokevirtual android.text.BidiFormatter.unicodeWrap:(Ljava/lang/String;)Ljava/lang/String;
areturn
3: StackMap locals: java.util.Locale
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Landroid/content/Context;
0 4 1 source Ljava/lang/String;
1 4 2 locale Ljava/util/Locale;
MethodParameters:
Name Flags
context
source
public static java.lang.String formatFileSize(android.content.Context, long);
descriptor: (Landroid/content/Context;J)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tcom.android.internal.R.string cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
context
sizeBytes
public static java.lang.String formatShortFileSize(android.content.Context, long);
descriptor: (Landroid/content/Context;J)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tcom.android.internal.R.string cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
context
sizeBytes
public static android.text.format.Formatter$BytesResult formatBytes(android.content.res.Resources, long, int);
descriptor: (Landroid/content/res/Resources;JI)Landroid/text/format/Formatter$BytesResult;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tcom.android.internal.R.string cannot be resolved to a variable\n\tcom.android.internal.R.string cannot be resolved to a variable\n\tcom.android.internal.R.string cannot be resolved to a variable\n\tcom.android.internal.R.string cannot be resolved to a variable\n\tcom.android.internal.R.string cannot be resolved to a variable\n\tcom.android.internal.R.string cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
res
sizeBytes
flags
public static java.lang.String formatIpAddress(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic android.net.NetworkUtils.intToInetAddress:(I)Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ipv4Address I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
ipv4Address
public static java.lang.String formatShortElapsedTime(android.content.Context, long);
descriptor: (Landroid/content/Context;J)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tMeasureFormat cannot be resolved to a type\n\tMeasureFormat cannot be resolved\n\tMeasureFormat cannot be resolved to a variable\n\tMeasure cannot be resolved to a type\n\tMeasureUnit cannot be resolved to a variable\n\tMeasure cannot be resolved to a type\n\tMeasureUnit cannot be resolved to a variable\n\tMeasure cannot be resolved to a type\n\tMeasureUnit cannot be resolved to a variable\n\tMeasure cannot be resolved to a type\n\tMeasureUnit cannot be resolved to a variable\n\tMeasure cannot be resolved to a type\n\tMeasureUnit cannot be resolved to a variable\n\tMeasure cannot be resolved to a type\n\tMeasureUnit cannot be resolved to a variable\n\tMeasure cannot be resolved to a type\n\tMeasureUnit cannot be resolved to a variable\n\tMeasure cannot be resolved to a type\n\tMeasureUnit cannot be resolved to a variable\n\tMeasure cannot be resolved to a type\n\tMeasureUnit cannot be resolved to a variable\n\tMeasure cannot be resolved to a type\n\tMeasureUnit cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
context
millis
public static java.lang.String formatShortElapsedTimeRoundingUpToMinutes(android.content.Context, long);
descriptor: (Landroid/content/Context;J)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tMeasureFormat cannot be resolved to a type\n\tMeasureFormat cannot be resolved\n\tMeasureFormat cannot be resolved to a variable\n\tMeasure cannot be resolved to a type\n\tMeasureUnit cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
context
millis
}
SourceFile: "Formatter.java"
NestMembers:
android.text.format.Formatter$BytesResult
InnerClasses:
public BytesResult = android.text.format.Formatter$BytesResult of android.text.format.Formatter