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.
Difference between revisions of "EDT:EGL Language Primitive Type Date"
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> | ||
− | |||
− |
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.