Qore DataProvider Module Reference 3.0
Loading...
Searching...
No Matches
UnixTimestampMsType.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
2
3/* UnixTimestampMsType.qc Copyright (C) 2025 Qore Technologies s.r.o.
4
5 Permission is hereby granted, free of charge, to any person obtaining a
6 copy of this software and associated documentation files (the "Software"),
7 to deal in the Software without restriction, including without limitation
8 the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 and/or sell copies of the Software, and to permit persons to whom the
10 Software is furnished to do so, subject to the following conditions:
11
12 The above copyright notice and this permission notice shall be included in
13 all copies or substantial portions of the Software.
14
15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 DEALINGS IN THE SOFTWARE.
22*/
23
25namespace DataProvider {
28
31
32public:
34 constructor(*hash<auto> options, *hash<auto> tags) ;
35
36
38 string getName();
39
40
42
47
48
50
55
56
58 string getDesc();
59
60
62
68 auto acceptsValue(auto value);
69
70
72
78
79};
80};
describes a data type
Definition AbstractDataProviderType.qc.dox.h:139
*hash< auto > tags
type tags
Definition AbstractDataProviderType.qc.dox.h:155
hash< auto > options
type options
Definition AbstractDataProviderType.qc.dox.h:152
A type that converts dates to UNIX timestamps in milliseconds.
Definition UnixTimestampMsType.qc.dox.h:30
constructor(*hash< auto > options, *hash< auto > tags)
creates the field from the argument
string getDisplayName()
Returns the type's display name.
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
string getDesc()
Returns the description.
AbstractDataProviderType getOrNothingType()
Returns an "or nothing" type equivalent to the current type.
string getName()
Returns the type name.
string getShortDescription()
Returns the type's short description.
A type that converts dates to UNIX timestamps in seconds.
Definition UnixTimestampType.qc.dox.h:30
Qore AbstractDataField class definition.
Definition AbstractDataField.qc.dox.h:27
const UnixTimestampMsType
A type that converts dates to UNIX timestamps in milliseconds.
Definition UnixTimestampMsType.qc.dox.h:27