Java Instant to toEpochMilli(Instant _instant)

Here you can find the source of toEpochMilli(Instant _instant)

Description

Get Instant as elapsed millisecond since Epoch origin

License

Open Source License

Declaration

public static final long toEpochMilli(Instant _instant) 

Method Source Code

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

import java.time.Instant;

public class Main {
    /**//w  w  w  .j a  v  a 2 s .co  m
     * Get Instant as elapsed millisecond since Epoch origin <br>
     * 
     */
    public static final long toEpochMilli(Instant _instant) {
        return _instant.toEpochMilli();
    }
}

Related

  1. toMicros(Instant instant)