LibreOffice Module connectivity (master) 1
|
DAYNAME(date) Returns the name of the weekday for date: 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 |
DAYNAME(date) Returns the name of the weekday for date:
SELECT DAYNAME('1998-02-05'); -> 'Thursday'
Definition at line 82 of file FDateFunctions.hxx.
|
overrideprotectedvirtual |
Implements connectivity::file::OUnaryOperator.
Definition at line 95 of file FDateFunctions.cxx.
References FRIDAY, connectivity::ORowSetValue::getDate(), Date::GetDayOfWeek(), connectivity::ORowSetValue::isNull(), MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, and WEDNESDAY.