Creates an instance with the specified number of ticks since 0001-01-1T00:00:00Z
as the initial time, for convenience when testing code with numeric values.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003eFakeClock\u003c/code\u003e is an implementation of \u003ccode\u003eIClock\u003c/code\u003e that allows for manually specifying and incrementing time.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFakeClock\u003c/code\u003e class provides constructors to create instances with specific initial times, including a default starting time of 2000-01-01T00:00:00Z, or by providing a \u003ccode\u003eDateTime\u003c/code\u003e value, or number of \u003ccode\u003eticks\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFakeClock\u003c/code\u003e class provides several methods, such as \u003ccode\u003eAdvance(long)\u003c/code\u003e and \u003ccode\u003eAdvance(TimeSpan)\u003c/code\u003e, to advance the clock forward by a given number of ticks or a specific time span, and \u003ccode\u003eAdvanceTo(DateTime)\u003c/code\u003e to jump the clock to a specific date and time.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a method \u003ccode\u003eGetCurrentDateTimeUtc()\u003c/code\u003e which returns the current date and time in UTC.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFakeClock\u003c/code\u003e class is thread-safe and available within the \u003ccode\u003eGoogle.Api.Gax.Testing\u003c/code\u003e namespace with the \u003ccode\u003eGoogle.Api.Gax.Testing.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]