static private GetAllDateTimes ( System.DateTime dateTime, |
||
dateTime | System.DateTime | |
dtfi | ||
Résultat | String[] |
internal static String[] GetAllDateTimes(DateTime dateTime, DateTimeFormatInfo dtfi)
{
ArrayList results = new ArrayList(DEFAULT_ALL_DATETIMES_SIZE);
for (int i = 0; i < allStandardFormats.Length; i++)
{
String[] strings = GetAllDateTimes(dateTime, allStandardFormats[i], dtfi);
for (int j = 0; j < strings.Length; j++)
{
results.Add(strings[j]);
}
}
String[] value = new String[results.Count];
results.CopyTo(0, value, 0, results.Count);
return (value);
}
DateTimeFormat::GetAllDateTimes ( System.DateTime dateTime, char format, |
// Token: 0x060015F2 RID: 5618 RVA: 0x00041624 File Offset: 0x0003F824 internal static string[] GetAllDateTimes(DateTime dateTime, DateTimeFormatInfo dtfi) { List <string> list = new List <string>(132); for (int i = 0; i < DateTimeFormat.allStandardFormats.Length; i++) { string[] allDateTimes = DateTimeFormat.GetAllDateTimes(dateTime, DateTimeFormat.allStandardFormats[i], dtfi); for (int j = 0; j < allDateTimes.Length; j++) { list.Add(allDateTimes[j]); } } string[] array = new string[list.Count]; list.CopyTo(0, array, 0, list.Count); return(array); }