pops-core  0.9
PoPS (Pest or Pathogen Spread) Model Core C++ library
Public Member Functions | List of all members
pops::Season Class Reference

Holds beginning and end of a season and decides what is in season. More...

#include <date.hpp>

Public Member Functions

 Season (int start, int end)
 
bool month_in_season (int month) const
 Decides if a month is in season or not. More...
 

Detailed Description

Holds beginning and end of a season and decides what is in season.

Definition at line 473 of file date.hpp.

Constructor & Destructor Documentation

◆ Season()

pops::Season::Season ( int  start,
int  end 
)
inline

Definition at line 476 of file date.hpp.

Member Function Documentation

◆ month_in_season()

bool pops::Season::month_in_season ( int  month) const
inline

Decides if a month is in season or not.

Parameters
monthA month in year (1-12)
Returns
true if in season, false otherwise

Definition at line 482 of file date.hpp.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: