OTB
9.0.0
Orfeo Toolbox
|
#include <otbDateUtils.h>
Public Member Functions | |
doy_multi_year ()=default | |
doy_multi_year (unsigned int d_prev_init) | |
unsigned int | operator() (const std::tm &d) |
Public Attributes | |
unsigned int | d_prev = 0 |
bool | first_date = true |
unsigned int | year_count = 0 |
Functor with state to return the day of the year dealing with dates spread over multiple years adding 365*year_count to the doy. Does not take into account leap years.
Definition at line 53 of file otbDateUtils.h.
|
default |
|
inline |
Definition at line 56 of file otbDateUtils.h.
|
inline |
Definition at line 60 of file otbDateUtils.h.
References d_prev, GapFilling::doy(), first_date, and year_count.
unsigned int GapFilling::doy_multi_year::d_prev = 0 |
Definition at line 77 of file otbDateUtils.h.
Referenced by operator()().
bool GapFilling::doy_multi_year::first_date = true |
Definition at line 78 of file otbDateUtils.h.
Referenced by operator()().
unsigned int GapFilling::doy_multi_year::year_count = 0 |
Definition at line 76 of file otbDateUtils.h.
Referenced by operator()().