11 string FormatedAsTimestamp()
13 m_Hours += m_Days * 24;
28 return string.Format(
"%1%2:%3%4:%5%6", h, m_Hours, m, m_Minutes, s, m_Seconds);
31 string FormatedWithZero()
33 return string.Format(
"%1#STR_time_unit_abbrev_day_0 %2#STR_time_unit_abbrev_hour_0 %3#STR_time_unit_abbrev_minute_0 %4#STR_time_unit_abbrev_second_0", m_Days, m_Hours, m_Minutes, m_Seconds);
36 string FormatedNonZero()
41 message +=
string.Format(
"%1#STR_time_unit_abbrev_day_0 ", m_Days);
43 message +=
string.Format(
"%1#STR_time_unit_abbrev_hour_0 ", m_Hours);
45 message +=
string.Format(
"%1#STR_time_unit_abbrev_minute_0 ", m_Minutes);
47 message +=
string.Format(
"%1#STR_time_unit_abbrev_second_0", m_Seconds);
62 fullTime.m_Days = timeInSeconds / (24 * 3600);
64 timeInSeconds = timeInSeconds % (24 * 3600);
65 fullTime.m_Hours = timeInSeconds / 3600;
67 timeInSeconds = timeInSeconds % 3600;
68 fullTime.m_Minutes = timeInSeconds / 60;
70 timeInSeconds = timeInSeconds % 60;
71 fullTime.m_Seconds = timeInSeconds;