18#ifndef _DECAF_UTIL_DATE_H_
19#define _DECAF_UTIL_DATE_H_
54 Date(
long long milliseconds);
This interface imposes a total ordering on the objects of each class that implements it.
Definition Comparable.h:33
Date & operator=(const Date &value)
Assigns the value of one Date object to another.
Date(long long milliseconds)
Constructs the date with a given time value.
bool before(const Date &when) const
Determines whether or not this date falls before the specified time.
Date()
Default constructor - sets time to the current System time, rounded to the nearest millisecond.
Date(const Date &source)
Copy constructor.
void setTime(long long milliseconds)
Sets the underlying time.
virtual bool operator==(const Date &value) const
bool after(const Date &when) const
Determines whether or not this date falls after the specified time.
std::string toString() const
Converts this Date object to a String of the form:
virtual int compareTo(const Date &value) const
virtual bool operator<(const Date &value) const
virtual bool equals(const Date &value) const
long long getTime() const
Gets the underlying time.
#define DECAF_API
Definition Config.h:29
Definition AbstractCollection.h:33
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25