Set Specific Locale Data Formats

Certify supports custom data type formats to override the culture and decimal and grouping separators.

You can interact with number and date formats consistent with your geographic locale. When you use the following locale-specific data formats, Certify checks your operating system locale, and the appropriate format is used.

Certify also allows you to change the locale using a Locale variable with the System action Set AUT Locale. By using this method, the same Certify process can be used to test applications of various locales.

Date Formats

Format

U.S. Format Description

Format Pattern

Short Date

1/18/2008

d

Long Date

Friday, January 18, 2008

D

Short Time

3:30 PM

t

Long Time

3:30:00 PM

T

Long Date with Short Time

Friday, January 18, 2008 3:30 PM

f

Long Date with Long Time

Friday, January 18, 2008 3:30:00 PM

F

Short Date with Short Time

1/18/2008 3:30 PM

g

Short Date with Long Time

1/18/2008 3:30:00 PM

G

Number Formats

Format

U.S. Format Description

Format Pattern

Integer

Format with separator and 0 decimal places:

1234 becomes 1, 234

1.5 becomes 2

N0

Number 2

Format with separator and 2 decimal places:

1234 becomes 1,234.00

1.5 becomes 1.50

N2

Currency

Format with separator, local currency symbol, and local standard number of decimal places for currency:

1234 becomes $1234.00

0.678543 becomes $ 0.68

C

 

In order for you to use these formats, you will need to create these data type formats. For more information, see Defining a Data Type Format.

 

Related Topics Link IconRelated Topics