help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

TFormatSettings

Record with all the strings that determine formatting

Declaration

Source position: sysinth.inc line 34

type TFormatSettings = record

  CurrencyFormat: Byte;

  

Currency format string

  NegCurrFormat: Byte;

  

Negative currency format string

  ThousandSeparator: Char;

  

Thousands separator character

  DecimalSeparator: Char;

  

Decimal separator character

  CurrencyDecimals: Byte;

  

Currency decimals

  DateSeparator: Char;

  

Date separator character

  TimeSeparator: Char;

  

Time separator character

  ListSeparator: Char;

  

List separator character

  CurrencyString: String;

  

Currency string

  ShortDateFormat: String;

  

Short date format string

  LongDateFormat: String;

  

Long Date Format string

  TimeAMString: String;

  

AM time indicator string

  TimePMString: String;

  

PM time indicator string

  ShortTimeFormat: String;

  

Short time format string

  LongTimeFormat: String;

  

Long time format string

  ShortMonthNames: TMonthNameArray;

  

Array with short month names

  LongMonthNames: TMonthNameArray;

  

Array with long month names

  ShortDayNames: TWeekNameArray;

  

Array with short day names

  LongDayNames: TWeekNameArray;

  

Long day names

  TwoDigitYearCenturyWindow: Word;

  

Value for 2 digit year century window

end;

Description

TFormatSettings is a record that contains a copy of all variables which determine formatting in the various string formatting routines. It is used to pass local copies of these values to the various formatting routines in a thread-safe way.

See also

Format

  

Format a string with given arguments.

FormatDateTime

  

Return a string representation of a TDateTime value with a given format.

FormatFloat

  

Format a float according to a certain mask.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505