Provides culture-specific information.
Namespace: MindFusion.Common
File: Locale.js
SyntaxJavaScript
Copy Code
|
|---|
// class |
ExampleThe following code creates a new Locale instance that is assigned to the locale property of a Calendar to specify the desired date and time formats.
JavaScript
Copy Code
|
|---|
var locale = new Locale("us-2"); locale.dateSettings.dateFormats.shortDate = "MM/d/yyyy"; locale.dateSettings.generate(); calendar.locale = locale; |
Inheritance HierarchyMindFusion.Common.Locale
See Also