pszczyg

Untitled

Jun 30th, 2017
304
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static class SystemTime
  2.     {
  3.         public static DateTime Now = DateTime.Now;
  4.  
  5.         public static void SetNow(DateTime today)
  6.         {
  7.             Now = today;
  8.         }
  9.  
  10.         public static void ResetNow()
  11.         {
  12.             Now = DateTime.Now;
  13.         }
  14.     }
RAW Paste Data