Shows how to use xtd::date_time::days_in_month method.
#include <xtd/console>
#include <xtd/date_time>
#include <xtd/startup>
class program {
public:
static auto main() {
}
};
static auto write_line() -> void
Writes the current line terminator to the standard output stream using the specified format informati...
static auto days_in_month(xtd::uint32 year, xtd::month_of_year month) -> xtd::int32
Returns the number of days in the specified month and year.
#define startup_(...)
Defines the entry point to be called when the application loads. Generally this is set either to the ...
Definition startup.hpp:284
@ july
Indicates july.
Definition month_of_year.hpp:35
@ february
Indicates february.
Definition month_of_year.hpp:25