twitter4j
Class TimeSpanUtil

java.lang.Object
  extended by twitter4j.TimeSpanUtil

public class TimeSpanUtil
extends java.lang.Object

Since:
Twitter4J 2.1.0
Author:
Joern Huxhorn - jhuxhorn at googlemail.com

Field Summary
private static int ONE_DAY_IN_SECONDS
           
private static int ONE_HOUR_IN_SECONDS
           
 
Constructor Summary
private TimeSpanUtil()
           
 
Method Summary
static java.lang.String toTimeSpanString(java.util.Date date)
           
static java.lang.String toTimeSpanString(int deltaInSeconds)
           
static java.lang.String toTimeSpanString(long milliseconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONE_HOUR_IN_SECONDS

private static int ONE_HOUR_IN_SECONDS

ONE_DAY_IN_SECONDS

private static int ONE_DAY_IN_SECONDS
Constructor Detail

TimeSpanUtil

private TimeSpanUtil()
Method Detail

toTimeSpanString

public static java.lang.String toTimeSpanString(java.util.Date date)

toTimeSpanString

public static java.lang.String toTimeSpanString(long milliseconds)

toTimeSpanString

public static java.lang.String toTimeSpanString(int deltaInSeconds)