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