Java LocalDateTime Create toLocalDateTime(long systemMillis)

Here you can find the source of toLocalDateTime(long systemMillis)

Description

Return the system millis time as a LocalDateTime.

License

Apache License

Declaration

public static Object toLocalDateTime(long systemMillis) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.sql.Timestamp;

public class Main {
    /**//w ww.j a v a  2 s .  c o  m
     * Return the system millis time as a LocalDateTime.
     */
    public static Object toLocalDateTime(long systemMillis) {
        return new Timestamp(systemMillis).toLocalDateTime();
    }
}

Related

  1. getLocalDateTimeFromMillis(final long millis)
  2. getLocalDateTimeFromMillis(long millis)
  3. localDateTime(Date date, Clock clock)
  4. localDateTimeOf(final String value)
  5. toLocalDateTime(java.util.Date d)