LibreOffice Module connectivity (master) 1
|
YEAR(date) Returns the year for date, in the range 1000 to 9999: More...
#include <FDateFunctions.hxx>
Protected Member Functions | |
virtual ORowSetValue | operate (const ORowSetValue &lhs) const override |
Additional Inherited Members | |
Public Member Functions inherited from connectivity::file::OUnaryOperator | |
virtual void | Exec (OCodeStack &) override |
virtual ORowSetValue | operate (const ORowSetValue &lhs) const =0 |
virtual void | Exec (OCodeStack &)=0 |
Public Member Functions inherited from connectivity::file::OCode | |
virtual | ~OCode () |
OCode (OCode &&)=default | |
OCode (const OCode &)=default | |
OCode ()=default | |
OCode & | operator= (const OCode &)=default |
OCode & | operator= (OCode &&)=default |
YEAR(date) Returns the year for date, in the range 1000 to 9999:
SELECT YEAR('98-02-03'); -> 1998
Definition at line 145 of file FDateFunctions.hxx.
|
overrideprotectedvirtual |
Implements connectivity::file::OUnaryOperator.
Definition at line 215 of file FDateFunctions.cxx.
References connectivity::ORowSetValue::getDate(), and connectivity::ORowSetValue::isNull().