Qore DataProvider Module Reference  2.4
QoreDateDataTypeBase.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace DataProvider {
28 
32 
33 public:
34 protected:
36  const SupportedOptions = {
37  "date.output_timezone": <DataProviderTypeOptionInfo>{
38  "type": "object<TimeZone>",
39  "desc": "the time zone to use when writing to the type",
40  },
41  };
42 
45  "date.format": <DataProviderTypeOptionInfo>{
46  "type": Type::String,
47  "desc": "the format string for converting strings to dates",
48  },
49  "date.input_timezone": <DataProviderTypeOptionInfo>{
50  "type": "object<TimeZone>",
51  "desc": "the time zone for external data when writing to the type and converting strings to dates",
52  },
53  };
54 
55 public:
56 
58 
60 protected:
61  constructor(Type type, *hash<auto> options, *hash<auto> tags) ;
62 public:
63 
64 
66 
72  auto acceptsValue(auto value);
73 
74 
76  *hash<string, hash<DataProviderTypeOptionInfo>> getSupportedOptions();
77 
78 
80 
83 
84 };
85 };
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:187
*hash< auto > tags
type tags
Definition: AbstractDataProviderType.qc.dox.h:203
hash< auto > options
type options
Definition: AbstractDataProviderType.qc.dox.h:200
describes a data type based on a Qore data type
Definition: QoreDataType.qc.dox.h:31
Type type
the Qore type
Definition: QoreDataType.qc.dox.h:36
describes a data type based on a date type with validation for string parsing and time zone support
Definition: QoreDateDataTypeBase.qc.dox.h:31
const SupportedSoftOptions
supported soft options
Definition: QoreDateDataTypeBase.qc.dox.h:44
const SupportedOptions
supported options
Definition: QoreDateDataTypeBase.qc.dox.h:36
AbstractDataProviderType getSoftType()
returns a "soft" type equivalent to the current type
constructor(Type type, *hash< auto > options, *hash< auto > tags)
creates the object
*hash< string, hash< DataProviderTypeOptionInfo > > getSupportedOptions()
returns supported options
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
const String
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27
describes type options
Definition: AbstractDataProviderType.qc.dox.h:125