Android Long to Date Convert timestampToDate(long timeStamp)

Here you can find the source of timestampToDate(long timeStamp)

Description

timestamp To Date

License

Open Source License

Declaration

public static Date timestampToDate(long timeStamp) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Date;

public class Main {
    public static Date timestampToDate(long timeStamp) {
        return new java.util.Date(timeStamp * 1000);
    }//from   w  ww .j av  a2  s .  co  m
}

Related

  1. parseMills2Time(long elapsedMills)
  2. shortFromUtc(long milliseconds)
  3. timeInMillisToText(final long totalTimeInMillis)
  4. timeInMillisecondsToDateStringFull( long timeInMilliseconds)
  5. timestampToDate(long timeStamp)
  6. timestampToISO8601(long aTime)
  7. timestampToIso8601Str(long timestamp)
  8. timestampToIso8601Str(long timestamp)
  9. toCalendar(long hour)