Exemplo n.º 1
0
 public void W3CNotetoISO(string input, string iso)
 {
     W3CNoteDateTime dateTime = new W3CNoteDateTime(input);
     Assert.That(dateTime.ToString(), Is.EqualTo(iso), "Format - " + input);
 }
Exemplo n.º 2
0
 public void W3CNotetoDotNet( string input, DateTime date )
 {
     W3CNoteDateTime dateTime = new W3CNoteDateTime(input);
     DateTime rfc = dateTime.ToDateTime();
     Assert.That(rfc, Is.EqualTo(date), "Format - " + input );
 }