public static HistoricDataDateFormat FromKey(int value)
 {
     return(HistoricDataDateFormats.Single(r => r.Value == value));
 }
 public static HistoricDataDateFormat FromValue(string hddfString)
 {
     return(HistoricDataDateFormats.Single(r => String.Equals(r.Name, hddfString, StringComparison.OrdinalIgnoreCase)));
 }