public class DateFunction extends Object
| Constructor and Description |
|---|
DateFunction() |
| Modifier and Type | Method and Description |
|---|---|
static NumValue |
day(ODataProperty property)
Creates day filter function that returns the day from the property value
|
static NumValue |
hour(ODataProperty property)
Creates hour filter function that returns the hour from the property value
|
static NumValue |
minute(ODataProperty property)
Creates minute filter function that returns the minute from the property value
|
static NumValue |
month(ODataProperty property)
Creates month filter function that returns the month from the property value
|
static NumValue |
second(ODataProperty property)
Creates second filter function that returns the second from the property value
|
static NumValue |
year(ODataProperty property)
Creates year filter function that returns the year from the property value
|
public static NumValue day(ODataProperty property)
property - An ODataProperty object representing the property of an entitypublic static NumValue hour(ODataProperty property)
property - An ODataProperty object representing the property of an entitypublic static NumValue minute(ODataProperty property)
property - An ODataProperty object representing the property of an entitypublic static NumValue month(ODataProperty property)
property - An ODataProperty object representing the property of an entitypublic static NumValue second(ODataProperty property)
property - An ODataProperty object representing the property of an entitypublic static NumValue year(ODataProperty property)
property - An ODataProperty object representing the property of an entityCopyright © 2020 SAP. All Rights Reserved.