Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EDT:EGL Language Primitive Type Date

Revision as of 12:43, 28 October 2011 by Svihovec.us.ibm.com (Talk | contribs)

  • The operations provided by the Date type are specified in the EDate External Type
  • When a new Date is constructed, its value is set to the current date
  • The rules for converting a String to a Date can be found in the 'asString' function of the EDate External Type
  • The rules for converting a Date to a String without a specified format can be found in the 'asString' function of the EString External Type
  • The rules for converting a Date to a String with a specified format can be found in the 'format' function of the StringLib External Type
  • Date formats for ISO, USA, EUR, and JIS can be found in the Constants Library
  • The StrLib External Type is provided for formatting Date values as Strings using functions introduced in RBD. 
  • There is no support for defaultDateFormat in EDT.

<img src="http://chart.apis.google.com/chart?chxl=1:%7CJava%7CJavaScript&chxr=0,0,3028%7C1,0,1&chxt=y,x&chbh=a,30&chs=220x330&cht=bvs&chco=3D7930,A2C180,FF9900,76A4FB&chd=s:51,DF,AC,BB&chdl=Passed%7CFailed%7CError%7CSkipped&chma=0,0,0,6%7C0,6&chtt=Date+and+Timestamp" width="220" height="330" alt="Date and Timestamp" />

Back to the top