de.unibi.airobots.resaidroid.helper
Class TimeConverter

java.lang.Object
  extended by de.unibi.airobots.resaidroid.helper.TimeConverter

public class TimeConverter
extends java.lang.Object


Constructor Summary
TimeConverter()
           
 
Method Summary
static java.lang.String toDateTime(long time)
          Parse given time from long to String
static java.lang.String toTime(long time)
          Parse given time from long to String
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeConverter

public TimeConverter()
Method Detail

toTime

public static java.lang.String toTime(long time)
Parse given time from long to String

Parameters:
time - given milliseconds
Returns:
time parsed from long

toDateTime

public static java.lang.String toDateTime(long time)
Parse given time from long to String

Parameters:
time - given milliseconds
Returns:
date parsed from long