VirtualTime Class

Summary

VirtualTime starts at an hour before now, then each time it is called increments by a minute Useful when interacting with git to make sure commits and other interactions are not at the same time
Namespace
GitVersion.Testing
Base Types
  • object
graph BT Type-->Base0["object"] Type["VirtualTime"] class Type type-node

Syntax

public static class VirtualTime

Properties

Name Value Summary
Now DateTimeOffset
Increments by 1 minute each time it is called
static
GitHub