public void DateTimeFormatInfoPadsSlashedDate()
 {
     var infa = new DateTimeFormatInfo { ShortDatePattern = "d/M/yy" };
     infa.GetShortDatePatternPadded().Should().Be("dd/MM/yy");
 }
 public void DateTimeFormatInfoPadsDottedDate()
 {
     var infa = new DateTimeFormatInfo { ShortDatePattern = "M.d.yyyy" };
     infa.GetShortDatePatternPadded().Should().Be("MM.dd.yyyy");
 }
 public void DateTimeFormatInfoPadsMinussedDate()
 {
     var infa = new DateTimeFormatInfo { ShortDatePattern = "yyyy-M-d" };
     infa.GetShortDatePatternPadded().Should().Be("yyyy-MM-dd");
 }
 public void DateTimeFormatDoesNotExtendFullMonthFormat()
 {
     var infa = new DateTimeFormatInfo { ShortDatePattern = "d.MM.yyyy" };
     infa.GetShortDatePatternPadded().Should().Be("dd.MM.yyyy");
 }