at main 335 B view raw
1namespace Electropunk.Misc; 2 3public static class DateHelper 4{ 5 public static bool IsDate(Month month, int day) 6 { 7 return DateTime.Now.Month == (int)month && DateTime.Now.Day == day; 8 } 9} 10 11public enum Month 12{ 13 Jan = 1, 14 Feb = 2, 15 Mar = 3, 16 Apr = 4, 17 May = 5, 18 Jun = 6, 19 Jul = 7, 20 Aug = 8, 21 Sep = 9, 22 Oct = 10, 23 Nov = 11, 24 Dec = 12, 25}