ScriptCulture class
namespace: Serenity assembly: Serenity.Net.Web
Culture options that are passed to the client side.
public class ScriptCulture
Public Members
| name | description |
|---|---|
| ScriptCulture() | Initializes a new instance of the ScriptCulture class using CurrentCulture. |
| ScriptCulture(…) | Initializes a new instance of the ScriptCulture class. |
| AmDesignator { get; set; } | Gets or sets the AM designator, e.g. AM. |
| DateFormat { get; set; } | Gets or sets the date format. |
| DateOrder { get; set; } | Gets or sets the date year-month-day ordering, e.g. d/M/y. |
| DateSeparator { get; set; } | Gets or sets the date separator. |
| DateTimeFormat { get; set; } | Gets or sets the date/time format. |
| DayNames { get; set; } | Gets or sets the names of the days, starting with Sunday. |
| DecimalSeparator { get; set; } | Gets or sets the decimal separator. |
| FirstDayOfWeek { get; set; } | Gets or sets the first day of the week, 0 for Sunday, 1 for Monday. |
| GroupSeparator { get; set; } | Gets or sets the group separator. |
| MinimizedDayNames { get; set; } | Gets or sets the shortest names of the days, starting with Sunday, e.g. Su. |
| MonthGenitiveNames { get; set; } | Gets or sets the names of the months in the genitive case, which a date with a day number uses, e.g. "17 listopada" in Polish, or null when they are the same as MonthNames. |
| MonthNames { get; set; } | Gets or sets the names of the months, 12 of them and an empty one, as in .NET. |
| PmDesignator { get; set; } | Gets or sets the PM designator, e.g. PM. |
| ShortDayNames { get; set; } | Gets or sets the abbreviated names of the days, starting with Sunday, e.g. Sun. |
| ShortMonthGenitiveNames { get; set; } | Gets or sets the abbreviated names of the months in the genitive case, or null when they are the same as ShortMonthNames. |
| ShortMonthNames { get; set; } | Gets or sets the abbreviated names of the months, 12 of them and an empty one, e.g. Jan. |
| TimeSeparator { get; set; } | Gets or sets the time separator, e.g. :. |
See Also
- Source: ScriptCulture.cs