Here you can find the source of convertInstantToDotNetTicks(Instant instant)
public static long convertInstantToDotNetTicks(Instant instant)
//package com.java2s; /*/*from w w w. ja v a 2s. c om*/ * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ import java.time.Instant; public class Main { private static final long EPOCHINDOTNETTICKS = 621355968000000000l; public static long convertInstantToDotNetTicks(Instant instant) { return (instant.getEpochSecond() * 10000000) + (instant.getNano() / 100) + EPOCHINDOTNETTICKS; } }