Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EDT:EGL Language Primitive Type Date"

 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
*The [http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.edt/core/org.eclipse.edt.compiler/eglsource/eglx/rbd/StrLib.egl?root=Tools_Project&view=log StrLib External Type] is provided for formatting Date values as Strings using functions introduced in RBD.   
 
*The [http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.edt/core/org.eclipse.edt.compiler/eglsource/eglx/rbd/StrLib.egl?root=Tools_Project&view=log StrLib External Type] is provided for formatting Date values as Strings using functions introduced in RBD.   
 
*<span style="background: none repeat scroll 0% 0% orange;">There is '''no '''support for defaultDateFormat in EDT.</span>
 
*<span style="background: none repeat scroll 0% 0% orange;">There is '''no '''support for defaultDateFormat in EDT.</span>
 
<span style="background: none repeat scroll 0% 0% orange;" />
 
 
<img src=\"http://chart.apis.google.com/chart?chxl=1:|Java|JavaScript&chxr=0,0,3028|1,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|Failed|Error|Skipped&chma=0,0,0,6|0,6&chtt=Date+and+Timestamp\" width="220" height="330" alt="Date and Timestamp" />
 

Latest revision as of 12:43, 28 October 2011

  • 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.

Back to the top