public static DateTime ToDateTime(this MyObject a, string formato, string valor)
 {
     return(MyDateTime.SetFromFormat(formato, valor));
 }
 public static string FormatDateTime(this MyObject a, string formato, DateTime value)
 {
     return(MyDateTime.FormatDateTime(formato, value));
 }