incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür (JIRA) <j...@apache.org>
Subject [jira] Closed: (CLEREZZA-37) Wish for Scala function
Date Wed, 24 Mar 2010 12:36:27 GMT

     [ https://issues.apache.org/jira/browse/CLEREZZA-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Reto Bachmann-Gmür closed CLEREZZA-37.
--------------------------------------

    Resolution: Fixed

the followingis no supported (res/acp("startDate")).as(classOf[java.util.Date]

> Wish for Scala function
> -----------------------
>
>                 Key: CLEREZZA-37
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-37
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Oliver Strässer
>
> An short function to format Java Datetime, so that we don't need to type everytime this:

> {if((res/acp("startDate")).length > 0){
>  var startDate = (res/acp("startDate")*);
>    try {
>      {startDate .substring(0, startDate .indexOf('T'))}
>     } catch {
>       case e:Exception => res/acp("startDate")*;
>      }
>     }else {
> ""
> }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message