Format mask requires for data type like date.
C:\\JDeveloper\system12.1.2.0.40.66.68\o.BC4J\formatinfo.xml file stores the formats of datatypes.
Sample
formatter is here
<DOMAIN CLASS="java.sql.Timestamp">
<FORMATTER
name="Simple Date"
class="oracle.jbo.format.DefaultDateFormatter">
<FORMAT
text="yyyy-MM-dd" />
<FORMAT
text="hh:mm:ss" />
<FORMAT
text="yyyy-MM-dd G 'at' hh:mm:ss"
/>
<FORMAT
text="EEE, MMM d, ''yy" />
<FORMAT
text="dd-MM-yy" />
<FORMAT
text="dd-MMM-yyyy" />
<FORMAT
text="dd/MMM/yyyy" />
<FORMAT
text="MM/dd/yyyy" />
</FORMATTER>
</DOMAIN>
Custom formatters can be created by extending oracle.jbo.format.Formatter
class.
No comments:
Post a Comment