Loading...
Searching...
No Matches
UnixTimestampMsOrNothingType.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
/* UnixTimestampMsOrNothingType.qc Copyright (C) 2025 Qore Technologies s.r.o.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*/
namespace DataProvider {
const UnixTimestampMsOrNothingType = new UnixTimestampMsOrNothingType();
class UnixTimestampMsOrNothingType : public UnixTimestampOrNothingType {
public:
constructor(*hash<auto> options, *hash<auto> tags) ;
string getName();
string getDisplayName();
string getShortDescription();
string getDesc();
*Type getValueType();
auto acceptsValue(auto value);
AbstractDataProviderType getMandatoryType();
};
};
DataProvider::AbstractDataProviderType
describes a data type
Definition AbstractDataProviderType.qc.dox.h:139
DataProvider::AbstractDataProviderType::tags
*hash< auto > tags
type tags
Definition AbstractDataProviderType.qc.dox.h:155
DataProvider::UnixTimestampMsOrNothingType
A type that converts dates to UNIX timestamps in milliseconds.
Definition UnixTimestampMsOrNothingType.qc.dox.h:30
DataProvider::UnixTimestampMsOrNothingType::getDisplayName
string getDisplayName()
Returns the type's display name.
DataProvider::UnixTimestampMsOrNothingType::getShortDescription
string getShortDescription()
Returns the type's short description.
DataProvider::UnixTimestampMsOrNothingType::constructor
constructor(*hash< auto > options, *hash< auto > tags)
creates the field from the argument
DataProvider::UnixTimestampMsOrNothingType::getName
string getName()
Returns the type name.
DataProvider::UnixTimestampMsOrNothingType::acceptsValue
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
DataProvider::UnixTimestampMsOrNothingType::getValueType
*Type getValueType()
Returns the base type for the type, if any.
DataProvider::UnixTimestampMsOrNothingType::getMandatoryType
AbstractDataProviderType getMandatoryType()
Returns a mandatory (i.e. not "or nothing") type equivalent to the current type.
DataProvider::UnixTimestampMsOrNothingType::getDesc
string getDesc()
Returns the description.
DataProvider::UnixTimestampOrNothingType
A type that converts dates to UNIX timestamps in seconds.
Definition UnixTimestampOrNothingType.qc.dox.h:30
DataProvider
Qore AbstractDataField class definition.
Definition AbstractDataField.qc.dox.h:27
DataProvider::UnixTimestampMsOrNothingType
const UnixTimestampMsOrNothingType
A type that converts dates to UNIX timestamps in milliseconds.
Definition UnixTimestampMsOrNothingType.qc.dox.h:27