.TH "aflibDateTime" 3 "16 Jan 2007" "Open Source Audio Library Project" \" -*- nroff -*- .ad l .nh .SH NAME aflibDateTime \- Date Time class. .PP .SH SYNOPSIS .br .PP \fC#include \fP .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBaflibDateTime\fP ()" .br .RI "\fIConstructor with no parameters. \fP" .ti -1c .RI "\fBaflibDateTime\fP (int year, int month, int day, int hour, int minute, int second)" .br .RI "\fIConstructor with parameters as integer values. \fP" .ti -1c .RI "\fBaflibDateTime\fP (string date, string time)" .br .RI "\fIConstructor with parameters as strings. \fP" .ti -1c .RI "\fB~aflibDateTime\fP ()" .br .RI "\fIDestructor. \fP" .ti -1c .RI "bool \fBoperator<\fP (const \fBaflibDateTime\fP &date) const " .br .RI "\fIComparision operator. \fP" .ti -1c .RI "bool \fBoperator<=\fP (const \fBaflibDateTime\fP &date) const " .br .ti -1c .RI "bool \fBoperator==\fP (const \fBaflibDateTime\fP &date) const " .br .ti -1c .RI "void \fBsetYear\fP (int year)" .br .RI "\fISets the year. \fP" .ti -1c .RI "int \fBgetYear\fP () const " .br .RI "\fIGets the year. \fP" .ti -1c .RI "void \fBsetMonth\fP (int month)" .br .RI "\fISets the month. \fP" .ti -1c .RI "int \fBgetMonth\fP () const " .br .RI "\fIGets the month. \fP" .ti -1c .RI "void \fBsetDay\fP (int day)" .br .RI "\fISets the day. \fP" .ti -1c .RI "int \fBgetDay\fP () const " .br .RI "\fIGets the day. \fP" .ti -1c .RI "void \fBsetHour\fP (int hour)" .br .RI "\fISets the hour. \fP" .ti -1c .RI "int \fBgetHour\fP () const " .br .RI "\fIGets the hour. \fP" .ti -1c .RI "void \fBsetMinute\fP (int minute)" .br .RI "\fISets the minute. \fP" .ti -1c .RI "int \fBgetMinute\fP () const " .br .RI "\fIGets the minute. \fP" .ti -1c .RI "void \fBsetSecond\fP (int second)" .br .RI "\fISets the second. \fP" .ti -1c .RI "int \fBgetSecond\fP () const " .br .RI "\fIGets the second. \fP" .ti -1c .RI "void \fBsetCurrentTime\fP ()" .br .RI "\fISets the date and time to the current date and time. \fP" .in -1c .SS "Friends" .in +1c .ti -1c .RI "ostream & \fBoperator<<\fP (ostream &o, const \fBaflibDateTime\fP &date)" .br .RI "\fIOutputs data and time to a stream. \fP" .in -1c .SH "Detailed Description" .PP Date Time class. This class simply holds a date and time. It can be used by other classes such as the \fBaflibAudioRecorder\fP class that requires a date and time. It provides for storing a date and time, printing a date and time, and comparing two dates and times. .PP .SH "Constructor & Destructor Documentation" .PP .SS "aflibDateTime::aflibDateTime (string date, string time)" .PP Constructor with parameters as strings. .PP This constructor takes a date and a time as a string. The date must be in the format MM/DD/YYYY. The time must be in the format HH:MM:SS. .SH "Member Function Documentation" .PP .SS "bool aflibDateTime::operator< (const \fBaflibDateTime\fP & date) const" .PP Comparision operator. .PP This operator will determine if one date and time is less than another date and time. .SH "Friends And Related Function Documentation" .PP .SS "ostream& operator<< (ostream & o, const \fBaflibDateTime\fP & date)\fC [friend]\fP" .PP Outputs data and time to a stream. .PP This will output the date and time to a stream in the format MM/DD/YYYY and HH:MM:SS. .SH "Author" .PP Generated automatically by Doxygen for Open Source Audio Library Project from the source code.