Android Long to Date Convert getDateFromLong(long dateLong)

Here you can find the source of getDateFromLong(long dateLong)

Description

get Date From Long

Declaration

public static Date getDateFromLong(long dateLong) 

Method Source Code

//package com.java2s;

import java.util.Date;

public class Main {
    public static Date getDateFromLong(long dateLong) {
        if (dateLong == 0) {
            return null;
        }/*from   w w w.j  a va  2 s. co  m*/
        return new Date(dateLong);
    }
}

Related

  1. timeAgo(long aTime)
  2. isTomorrow(long lTime)
  3. getActivityTime(long startTime, long endTime)
  4. getDate(long timeStamp)
  5. getDateFrom(long timestamp, Context context)
  6. getDateTimeString(long time_milis)
  7. formatTime(long timeInMillis)
  8. formatDate(long timeInMillis)
  9. getCurrentDate(long time)