Here you can find the source of plusMilli(Instant _date, long _milli)
public static final Instant plusMilli(Instant _date, long _milli)
//package com.java2s; //License from project: Open Source License import java.time.Instant; import java.time.temporal.ChronoField; public class Main { /**/*from w ww .ja v a 2 s.co m*/ * Add _milli milliseconds to _date <br> * */ public static final Instant plusMilli(Instant _date, long _milli) { return _date.plus(_milli, ChronoField.MILLI_OF_DAY.getBaseUnit()); } }