// Copyright © 2022 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; namespace CefSharp.Internals { /// /// Convert to/from and CefBaseTime /// public interface IBaseTimeConverter { /// /// Converts from CefBaseTime to DateTime /// /// /// Represents a wall clock time in UTC. Values are not guaranteed to be monotonically /// non-decreasing and are subject to large amounts of skew. Time is stored internally /// as microseconds since the Windows epoch (1601). /// /// returns a DateTime FromBaseTimeToDateTime(long val); /// /// Converts from DateTime to CefBaseTime /// /// DateTime /// /// Represents a wall clock time in UTC. Time as microseconds since the Windows epoch (1601). /// long FromDateTimeToBaseTime(DateTime dateTime); } }