static AppSettings() { #if DEBUG debugBuild = true; #endif DateFormats.Add(new DateFormat("year", "yyyy", "Year")); DateFormats.Add(new DateFormat("month", "MM", "Month number")); DateFormats.Add(new DateFormat("short_month", "MMM", "Short month name")); DateFormats.Add(new DateFormat("long_month", "MMMM", "Long month name")); DateFormats.Add(new DateFormat("day", "dd", "Day")); }
static DateFormat() { DateFormats.Add("yyyy{0}MM{0}dd HH{1}mm{1}ss"); DateFormats.Add("yyyy{0}MM{0}dd hh{1}mm{1}ss"); Current = DateFormats[1]; }