Exemplo n.º 1
0
 // Returns a string array containing all of the date and time options for the
 // given format format and given culture.  The strings returned are properly formatted date and
 // time strings for the current instance of DateTime.
 public string[] GetDateTimeFormats(char format, IFormatProvider?provider)
 {
     return(DateTimeFormat.GetAllDateTimes(this, format, DateTimeFormatInfo.GetInstance(provider)));
 }