public static string GetDatePattern(int style, CultureInfo locale) { string pattern = DateFormat.GetDatePattern(style, locale); return(pattern); }