Functions |
string | itos (int i) |
string | ltos (long l) |
int | stoi (string s) |
long | stol (string s) |
string | breakString (string &incoming, string delim) |
| Breaks the first field off a string delimited by delim and returns it. More...
|
int | comparePeople (CPerson *a, CPerson *b, bool lastthenfirst) |
| For sorting two people lexicographically by their names in either first, laast name, or vice-versa, as in accordance with functional spec. More...
|
int | compareMp3Tracks (CMp3Track *a, CMp3Track *b, bool titlethenartist) |
| For sorting lexicographically two CMp3Track's by their title and artist, in either order as specified by the boolean argument. More...
|
int | compareTime (int hour1, int min1, bool pm1, int hour2, int min2, bool pm2) |
int | compareTime (CDate *a, CDate *b) |
| Compares two CDates taking into account all day events are before timed events as well sorting by ending times, and by the description of the event. More...
|
int | compareDate (int day1, int month1, int year1, int day2, int month2, int year2) |
int | compareDate (CDate *a, CDate *b) |
| Compares two dates of two CDates. More...
|
int | compareCDate (CDate *a, CDate *b) |
| Compares CDates a and b to see which happens first. More...
|
bool | isLeapYear (int year) |
| Calculates correctly whether a year is leap or not. More...
|
bool | isValidDate (int day, int month, int year) |
| Checks if date is valid. Must be between 2001 and 2299. More...
|
int | calcDayOfWeek (int day, int month, int year) |
| Calculates the actual day of a date between 2001 and 2299. More...
|
string | calcDayOfWeekAsString (int day, int month, int year) |
| Returns the day as a string. More...
|
string | getNameOfMonth (int month, bool abbreviated=true) |
| Returns the month as a string in either abbreviated format or full. More...
|