android.support.v4.util
Class TimeUtils

java.lang.Object
  extended by android.support.v4.util.TimeUtils

public class TimeUtils
extends Object

Helper for accessing features in TimeUtils introduced after API level 4 in a backwards compatible fashion.


Field Summary
static int HUNDRED_DAY_FIELD_LEN
           
 
Constructor Summary
TimeUtils()
           
 
Method Summary
static void formatDuration(long time, long now, PrintWriter pw)
           
static void formatDuration(long duration, PrintWriter pw)
           
static void formatDuration(long duration, PrintWriter pw, int fieldLen)
           
static void formatDuration(long duration, StringBuilder builder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HUNDRED_DAY_FIELD_LEN

public static final int HUNDRED_DAY_FIELD_LEN
See Also:
Constant Field Values
Constructor Detail

TimeUtils

public TimeUtils()
Method Detail

formatDuration

public static void formatDuration(long duration,
                                  StringBuilder builder)

formatDuration

public static void formatDuration(long duration,
                                  PrintWriter pw,
                                  int fieldLen)

formatDuration

public static void formatDuration(long duration,
                                  PrintWriter pw)

formatDuration

public static void formatDuration(long time,
                                  long now,
                                  PrintWriter pw)


Copyright © 2013 Marek Kedzierski. All Rights Reserved.