Eclipse BIRT Report Object Model (ROM)

DateTimeFormatValue Structure

Structure Overview

Used to format a datetime value.

Details

Display Name: Date Time Format Value
Since: 1.0

Property Summary

category
Provides a list of pre-defined datetime formatter, SHORT, LONG, MEDIUM, etc.
pattern
Pattern of the formatter.

Description

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

Property Detail

category Property

Provides a list of pre-defined datetime formatter, SHORT, LONG, MEDIUM, etc.

Details

Type: choice (dateTimeFormat)
Since: 1.0
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
Long Time Long Time Long Time
Medium Time Medium Time Medium Time
Short Time Short Time Short Time
Custom Custom Custom

Description

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


pattern Property

Pattern of the formatter.

Details

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

Description

Pattern of the date time formatter.