| /******************************************************************************* |
| * Copyright (C) 2008, International Business Machines Corporation and |
| * others. All Rights Reserved. |
| ******************************************************************************* |
| ******************************************************************************* |
| #include "unicode/dtintrv.h" |
| UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateInterval) |
| //DateInterval::DateInterval(){} |
| DateInterval::DateInterval(UDate from, UDate to) |
| DateInterval::~DateInterval(){} |
| DateInterval::DateInterval(const DateInterval& other) |
| DateInterval::operator=(const DateInterval& other) { |
| fromDate = other.fromDate; |
| DateInterval::clone() const { |
| return new DateInterval(*this); |
| DateInterval::operator==(const DateInterval& other) const { |
| return ( fromDate == other.fromDate && toDate == other.toDate ); |