18 #ifndef _DECAF_UTIL_DATE_H_ 19 #define _DECAF_UTIL_DATE_H_ 54 Date(
long long milliseconds );
70 Date& operator= (
const Date& value );
78 long long getTime()
const;
85 void setTime(
long long milliseconds );
93 bool after(
const Date& when )
const;
101 bool before(
const Date& when )
const;
124 std::string toString()
const;
128 virtual int compareTo(
const Date& value )
const;
130 virtual bool equals(
const Date& value )
const;
134 virtual bool operator<(
const Date& value )
const;
#define DECAF_API
Definition: Config.h:29
bool operator==(const ArrayPointer< T > &left, const U *right)
Definition: ArrayPointer.h:379
Wrapper class around a time value in milliseconds.
Definition: Date.h:34
This interface imposes a total ordering on the objects of each class that implements it...
Definition: Comparable.h:33
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25