扫码下载编程狮APP
import java.time.Instant; public class Main { public static void main(String[] args) { Instant firstInstant = Instant.ofEpochSecond(1234881180); System.out.println(firstInstant); } }
运行结果如下:
联系方式:
扫描二维码
下载编程狮App
扫码关注 领资料包