10.12.2012 Views

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Date Class<br />

operator==()<br />

operator!=()<br />

operator>()<br />

Parameters<br />

d<br />

The date object that is assigned.<br />

This method compares the dates specified. If the dates are equal, true is returned;<br />

otherwise, false is returned.<br />

Syntax<br />

bool operator==(const Date &a,<br />

const Date &b);<br />

Parameters<br />

a, b<br />

The dates that are compared for equality.<br />

This method compares the dates specified. If the dates are not equal then true is<br />

returned; otherwise, false is returned.<br />

Syntax<br />

bool operator!=(const Date &a,<br />

const Date &b);<br />

Parameters<br />

a, b<br />

The dates that are compared for inequality.<br />

This method compares the dates specified. If the first date is in the future relative to<br />

the second date then true is returned; otherwise, false is returned. If either date is<br />

null then false is returned. If the dates are not the same type then false is returned.<br />

8-56 <strong>Oracle</strong> <strong>C++</strong> <strong>Call</strong> <strong>Interface</strong> Programmer’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!