49 lines
512 B
C#
49 lines
512 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace CPF.ReoGrid.DataFormat
|
|
{
|
|
internal class DateTimeFormat
|
|
{
|
|
public static Dictionary<int, string> Formats = new Dictionary<int, string>
|
|
{
|
|
{
|
|
14,
|
|
"M/d/yyyy"
|
|
},
|
|
{
|
|
15,
|
|
"d-MMM-yy"
|
|
},
|
|
{
|
|
16,
|
|
"d-MMM"
|
|
},
|
|
{
|
|
17,
|
|
"MMM-yy"
|
|
},
|
|
{
|
|
18,
|
|
"h:mm tt"
|
|
},
|
|
{
|
|
19,
|
|
"h:mm:ss tt"
|
|
},
|
|
{
|
|
20,
|
|
"h:mm"
|
|
},
|
|
{
|
|
21,
|
|
"H:mm:ss"
|
|
},
|
|
{
|
|
22,
|
|
"M/d/yy h:mm"
|
|
}
|
|
};
|
|
}
|
|
}
|