DateUtils

public class DateUtils

Functions

Link copied to clipboard
public String cdTime(long sTime, long eTime)
Calculate the time interval between two timestamps
Link copied to clipboard
public int dateDiffer(long d)
Calculate the difference in seconds between two timestamps
Link copied to clipboard
public String formatDurationTime(long duration)
Convert timestamp to time format
Link copied to clipboard
public String getCreateFileName(String prefix)
Create file name from timestamp
Link copied to clipboard
public static DateUtils getInstance()