SourceForge.net Logo
DateOrTimeType.hpp
Go to the documentation of this file.
1/*
2 * Copyright (c) 2001, 2008,
3 * DecisionSoft Limited. All rights reserved.
4 * Copyright (c) 2004, 2015 Oracle and/or its affiliates. All rights reserved.
5 *
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19
20#ifndef _DATEORTIMETYPE_HPP
21#define _DATEORTIMETYPE_HPP
22
23#include <xercesc/util/XMLString.hpp>
25
26#include <xqilla/framework/XQillaExport.hpp>
27
30
31class XQILLA_API DateOrTimeType : public AnyAtomicType
32{
33public:
35
36 /* is this type date or time based? Return true by default */
37 virtual bool isDateOrTimeTypeValue() const;
38
42 virtual bool hasTimezone() const = 0;
43
44};
45
46#endif // _ATDATETIMEORDERIVED_HPP
Definition: ATDecimalOrDerived.hpp:30
Definition: ATDurationOrDerived.hpp:33
Definition: AnyAtomicType.hpp:31
Definition: DateOrTimeType.hpp:32
virtual bool isDateOrTimeTypeValue() const
virtual bool hasTimezone() const =0
Returns true if the timezone is defined for this object, false otherwise.
RefCountPointer< const DateOrTimeType > Ptr
Definition: DateOrTimeType.hpp:34
Super class of all the reference counted wrappers for Items.
Definition: ReferenceCounted.hpp:62