Namespace: PP;
CultureInfo
The CultureInfo class determines language and regional parameters.
PP.initClass(PP.CultureInfo, PP.Object, "PP.CultureInfo");
Constructor name | Brief description | |
CultureInfo | The CultureInfo constructor creates an instance of the CultureInfo class. |
Property name | Brief description | |
CultureName | The CultureName property sets abbreviated language name. | |
DateOrder | The DateOrder property sets date creation order. | |
DateSeparator | The DateSeparator property sets date separator. | |
DayNames | The DayNames property sets an array of weekday full names. | |
DecimalSeparator | The DecimalSeparator property sets decimal separator. | |
DisplayName | The DisplayName property sets full name of the language. | |
GroupSeparator | The GroupSeparator property sets group separator. | |
HalfYearNames | The HalfYearNames property determines array of half-year names. | |
Hour24Mode | The Hour24Mode property sets 24-hour time display mode. | |
IsSundayFirst | The IsSundayFirst property determines whether Sunday is the first day in a week. | |
LCID | The LCID property sets language code. | |
MonthNames | The MonthNames property sets array of full names for all months in the year. | |
QuarterNames | The QuarterNames property sets array of names for quarters in the year. | |
ShortDayNames | The ShortDayNames property sets array of abbreviated names for days of the week. | |
ShortMonthNames | The ShortMonthNames property sets array of names for all months in the year. | |
TimeAmPm | The TimeAmPm property determines postfixes used for 12-hour time display mode. | |
TimeSeparator | The TimeSeparator property determines time separator. | |
WEEKMS | The WEEKMS property specifies the number of milliseconds in a week. |
Method name | Brief description | |
dateToStr | The dateToStr method converts date to a string in accordance with the current culture. | |
getDaysInMonth | The getDaysInMonth method returns the number of days in the specified month of the specified year. | |
getFirstWeekDate | The getFirstWeekDate method returns date of the first day in the week with the specified number in the specified year. | |
getLastWeekDate | The getLastWeekDate method returns date of the last day in the week with the specified number in the specified year. | |
getTimezoneOffsetInMsec | The getTimezoneOffsetInMsec method returns offset of the current time zone in milliseconds. | |
getWeekNumber | The getWeekNumber method returns number of the week that includes the specified date. | |
numberToFormattedString | The numberToFormattedString method returns a string that contains a number formatted considering separators. | |
to12hMode | The to12hMode method converts the specified hour from 24-hour format to 12-hour one. | |
to24hMode | The to24hMode method converts the specified hour from 12-hour format to 24-hour one. | |
validateNumber | The validateNumber method converts the specified string to a number, if it is possible. |
Property name | Brief description | |
The Id property determines a repository object identifier. |
Method name | Brief description | |
clone | The clone method creates an object copy. | |
dispose | The dispose method deletes the component. | |
getHashCode | The getHashCode method returns hash code of repository object. | |
getSettings | The getSettings method returns repository object settings. | |
getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. | |
isEqual | The isEqual method determines whether the specified object is equal to the current repository object. | |
isLive | The isLive method determines validity of repository object. | |
removeAllEvents | The removeAllEvents method removes all object event handlers by the specified context. | |
setSettings | The setSettings method determines repository object settings. | |
defineProps | The defineProps method creates get and set methods from name array for the specified class. | |
keys | The keys method returns array of methods and properties names for the specified object. |
See also: