MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / getHours

Method getHours

inst/include/Rcpp/date_datetime/Datetime.h:53–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 int getSeconds() const { return m_tm.tm_sec; }
52 int getMinutes() const { return m_tm.tm_min; }
53 int getHours() const { return m_tm.tm_hour; }
54 int getDay() const { return m_tm.tm_mday; }
55 int getMonth() const { return m_tm.tm_mon + 1; } // makes it 1 .. 12
56 int getYear() const { return m_tm.tm_year ; }

Callers 1

Datetime_get_functionsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected