Lines Matching refs:newtime
98 struct tm* newtime = localtime(&curTime); in ResetDateTime() local
99 m_year = newtime->tm_year + 1900; in ResetDateTime()
100 m_month = newtime->tm_mon + 1; in ResetDateTime()
101 m_day = newtime->tm_mday; in ResetDateTime()
102 m_hour = newtime->tm_hour; in ResetDateTime()
103 m_minute = newtime->tm_min; in ResetDateTime()
104 m_second = newtime->tm_sec; in ResetDateTime()
119 struct tm newtime; in ToTime_t() local
121 newtime.tm_year = m_year - 1900; in ToTime_t()
122 newtime.tm_mon = m_month - 1; in ToTime_t()
123 newtime.tm_mday = m_day; in ToTime_t()
124 newtime.tm_hour = m_hour; in ToTime_t()
125 newtime.tm_min = m_minute; in ToTime_t()
126 newtime.tm_sec = m_second; in ToTime_t()
128 return mktime(&newtime); in ToTime_t()