An abstract class to represent an instant of date and time. More...
#include <DateTimeInstant.h>
Public Member Functions | |
virtual AbstractData * | clone () const =0 |
It returns a clone of this object. More... | |
DateTimeInstant () | |
Default constructor. More... | |
virtual DateTimeType | getDateTimeType () const =0 |
It returns the subtype of the date and time type. More... | |
int | getTypeCode () const |
It returns the data type code associated to date and time values: DATETIME_TYPE. More... | |
virtual bool | operator!= (const DateTime &) const =0 |
Operator !=. More... | |
virtual bool | operator< (const DateTime &) const =0 |
Operator <. More... | |
virtual bool | operator== (const DateTime &) const =0 |
Operator ==. More... | |
virtual bool | operator> (const DateTime &) const =0 |
Operator > More... | |
virtual std::string | toString () const =0 |
It returns the data value in a string notation. More... | |
virtual | ~DateTimeInstant () |
Virtual destructor. More... | |
An abstract class to represent an instant of date and time.
Definition at line 43 of file DateTimeInstant.h.
|
inline |
Default constructor.
Definition at line 48 of file DateTimeInstant.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 51 of file DateTimeInstant.h.
|
pure virtualinherited |
It returns a clone of this object.
Implemented in te::dt::ByteArray, te::dt::SimpleData< T *, typeCode >, te::dt::DatePeriod, te::dt::TimePeriod, te::dt::TimeDuration, te::dt::Date, te::dt::TimeInstant, te::dt::TimePeriodTZ, te::dt::OrdinalPeriod, te::dt::Array, te::idl::IdlRaster, te::gm::LineString, te::gm::CircularString, te::dt::TimeInstantTZ, te::gm::PointKd, te::dt::DateDuration, te::gm::CompoundCurve, te::gm::LinearRing, te::gm::MultiPolygon, te::dt::CompositeData, te::gm::PointZM, te::mem::CachedRaster, te::mem::ExpansibleRaster, te::gm::PointM, te::gm::PointZ, te::gm::Line, te::gm::Point, te::dt::OrdinalInstant, te::gm::CurvePolygon, te::gm::GeometryCollection, te::gdal::Raster, te::gm::PolyhedralSurface, te::gm::Polygon, te::gm::MultiLineString, te::gm::MultiPoint, te::rst::SynchronizedRaster, te::gm::MultiSurface, te::dt::SimpleData< T, typeCode >, te::dt::SimpleData< boost::int64_t, INT64_TYPE >, te::gm::MultiCurve, te::rst::ProxyRaster, te::grib::Raster, te::mem::Raster, and terralib4::Raster.
Referenced by te::mem::DataSet::add(), te::qt::widgets::TimeSliderWidget::addTrajectory(), te::rp::FeederConstRasterDirectory::applyGeometryRestriction(), te::sa::SpatialWeightsExchanger::associateGeometry(), te::st::CoverageSeries::at(), te::st::Trajectory::at(), te::st::TimeSeries::clone(), te::sa::GeneralizedProximityMatrix::createDataSet(), te::st::NearestValueAtTimeInterp::estimate(), te::st::NearestCoverageAtTimeInterp::estimate(), te::st::NearestGeometryAtTimeInterp::estimate(), te::stmem::DataSet::filter(), te::st::CoverageSeries::getCoverage(), te::st::STDataLoader::getCoverage(), te::st::Trajectory::getDistance(), te::st::Trajectory::getGeometry(), te::da::SpatialRestrictionVisitor::getGeometryRestriction(), te::st::Trajectory::getPatch(), te::st::CoverageSeries::getPatch(), te::st::TimeSeries::getPatch(), te::st::GetType(), te::stmem::DataSet::nearestObservations(), te::dt::new_clone(), te::vp::BufferMemory::setBuffer(), and te::da::ST_DistanceBuffer::ST_DistanceBuffer().
|
pure virtualinherited |
It returns the subtype of the date and time type.
Implemented in te::dt::DatePeriod, te::dt::TimePeriod, te::dt::TimeDuration, te::dt::Date, te::dt::TimeInstant, te::dt::TimePeriodTZ, te::dt::OrdinalPeriod, te::dt::TimeInstantTZ, te::dt::DateDuration, and te::dt::OrdinalInstant.
Referenced by te::dt::GetDistance(), getDouble(), te::dt::GetTemporalExtent(), and te::dt::GetTimePeriod().
|
inlinevirtualinherited |
It returns the data type code associated to date and time values: DATETIME_TYPE.
Implements te::dt::AbstractData.
Definition at line 103 of file DateTime.h.
References te::dt::DATETIME_TYPE.
|
pure virtualinherited |
Operator !=.
rhs | The date and time to be compared. |
Implemented in te::dt::DatePeriod, te::dt::TimePeriod, te::dt::TimePeriodTZ, te::dt::OrdinalPeriod, te::dt::TimeInstant, te::dt::TimeDuration, te::dt::Date, te::dt::DateDuration, te::dt::OrdinalInstant, and te::dt::TimeInstantTZ.
|
pure virtualinherited |
Operator <.
rhs | The date and time to be compared. |
Implemented in te::dt::DatePeriod, te::dt::TimePeriod, te::dt::TimePeriodTZ, te::dt::OrdinalPeriod, te::dt::TimeInstant, te::dt::TimeDuration, te::dt::Date, te::dt::DateDuration, te::dt::OrdinalInstant, and te::dt::TimeInstantTZ.
|
pure virtualinherited |
Operator ==.
rhs | The date and time to be compared. |
Implemented in te::dt::DatePeriod, te::dt::TimePeriod, te::dt::TimePeriodTZ, te::dt::OrdinalPeriod, te::dt::TimeInstant, te::dt::TimeDuration, te::dt::Date, te::dt::DateDuration, te::dt::OrdinalInstant, and te::dt::TimeInstantTZ.
|
pure virtualinherited |
Operator >
rhs | The right-hand-side time duration to be compared. |
Implemented in te::dt::DatePeriod, te::dt::TimePeriod, te::dt::TimePeriodTZ, te::dt::OrdinalPeriod, te::dt::TimeInstant, te::dt::TimeDuration, te::dt::Date, te::dt::DateDuration, te::dt::OrdinalInstant, and te::dt::TimeInstantTZ.
|
pure virtualinherited |
It returns the data value in a string notation.
Implemented in te::gm::Geometry, te::rst::Raster, te::dt::ByteArray, te::dt::SimpleData< T *, typeCode >, te::dt::DatePeriod, te::dt::TimePeriod, te::dt::TimeDuration, te::dt::Date, te::dt::TimeInstant, te::dt::TimePeriodTZ, te::dt::OrdinalPeriod, te::dt::Array, te::dt::CompositeData, te::dt::TimeInstantTZ, te::dt::DateDuration, te::dt::OrdinalInstant, te::dt::SimpleData< T, typeCode >, and te::dt::SimpleData< boost::int64_t, INT64_TYPE >.
Referenced by te::pgis::PreparedQuery::bind(), te::sqlite::PreparedQuery::bind(), te::qt::widgets::DataSetTableView::changeColumnData(), te::sa::GetDataValue(), te::serialize::xml::Save(), te::dt::Array::toString(), and te::da::SQLVisitor::visit().