added getDayName(), formatting

This commit is contained in:
john30
2017-02-19 11:37:09 +01:00
parent cfe66cbf6f
commit 1fd682ba51
2 changed files with 15 additions and 1 deletions
+6
View File
@@ -102,6 +102,12 @@ class DataField {
*/
static void dumpString(ostream& output, const string str, const bool prependFieldSeparator = true);
/**
* Return the name of the specified day.
* @return the name of the specified day.
*/
static string getDayName(int day);
/**
* Returns the length of this field (or contained fields) in bytes.
* @param partType the message part of the contained fields to limit the length calculation to.