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

Method getYearday

inst/include/Rcpp/date_datetime/Date.h:82–82  ·  view source on GitHub ↗

makes it 1 .. 7

Source from the content-addressed store, hash-verified

80 int getYear() const { return m_tm.tm_year; } // does include 1900 (see Date.cpp)
81 int getWeekday() const { return m_tm.tm_wday + 1; } // makes it 1 .. 7
82 int getYearday() const { return m_tm.tm_yday + 1; } // makes it 1 .. 366
83
84 // 1900 as per POSIX mktime() et al
85 static inline unsigned int baseYear() {

Callers 2

componentsFunction · 0.45
Date_get_functionsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected