You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2017/03/20 10:20:41 UTC

[jira] [Closed] (CAY-2269) Add support for date/time components extraction in expression functions.

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

Nikita Timofeev closed CAY-2269.
--------------------------------
    Resolution: Fixed

Done per https://github.com/apache/cayenne/commit/05a77250221c23aede7267835fb55d997560c5b0

> Add support for date/time components extraction in expression functions.
> ------------------------------------------------------------------------
>
>                 Key: CAY-2269
>                 URL: https://issues.apache.org/jira/browse/CAY-2269
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>              Labels: expressions
>             Fix For: 4.0.M6
>
>
> Add support for the following date/time component-extracting functions:
> # {{year()}}
> # {{month()}}
> # {{week()}}
> # {{dayOfYear()}}
> # {{day()}} and/or {{dayOfMonth()}}
> # {{dayOfWeek()}}
> # {{hour()}}
> # {{minute()}}
> # {{second()}}
> However not all DB can support this functions, e.g. sqlite has its own vision for date\time functions, FrontBase don't support this functions completely.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)