namespace PkmnLib.Dynamic;
///
/// A static helper class that contains functions that are used in multiple places.
///
public static class StaticHelpers
{
///
/// A function to get the current date and time. This can be replaced in cases where the date and time
/// may not be the same as the system time.
///
public static Func DateTimeProvider { get; set; } = () => DateTimeOffset.Now;
///
/// Get the current date and time.
///
public static DateTimeOffset GetCurrentDateTime() => DateTimeProvider();
}