Eclipse BIRT Report Object Model (ROM)

DateFormatValue Structure

Structure Overview

Used to format a date value.

Details

Display Name: Date Format Value
Since: 2.2

Property Summary

category
Provides a list of pre-defined date formatter, Unformatted, General Date, Long Date, Medium Date,etc.
locale
Locale of the formatter.
pattern
Pattern of the formatter.

Description

Provides a set of pre-defined date formatter, or user can define a customized formatter given a pattern.

Property Detail

category Property

Provides a list of pre-defined date formatter, Unformatted, General Date, Long Date, Medium Date,etc.

Details

Type: choice (dateFormat)
Since: 2.2
Required: No
Display Name: Category
JavaScript Type:
Default Value: None
Runtime Settable: Yes

Choices

NameDisplay Name ValueDescription
Unformatted Unformatted Unformatted
General Date General Date General Date
Long Date Long Date Long Date
Medium Date Medium Date Medium Date
Short Date Short Date Short Date
Custom Custom Custom

Description

Allow user to choose from a list of pre-defined date formatter. Use a certain formatter to convert a "date" typed value using the given formatter.


locale Property

Locale of the formatter.

Details

Type: locale
Since: 2.5
Required: No
Display Name: Locale
JavaScript Type:
Default Value: None
Runtime Settable: Yes

Description

The locale of the date formatter.


pattern Property

Pattern of the formatter.

Details

Type: string
Since: 2.2
Required: No
Display Name: Pattern
JavaScript Type:
Default Value: None
Runtime Settable: Yes

Description

Pattern of the date formatter.