#include <xtd/console>
#include <xtd/date_time>
#include <xtd/startup>
class program {
public:
static auto main() {
auto date1 =
date_time {2008, 4, 1, 18, 7, 5, 16};
console::write_line(date1.to_string("a"));
console::write_line(date1.to_string("b"));
console::write_line(date1.to_string("B"));
console::write_line(date1.to_string("c"));
console::write_line(date1.to_string("c"));
console::write_line(date1.to_string("d"));
console::write_line(date1.to_string("D"));
console::write_line(date1.to_string("e"));
console::write_line(date1.to_string("E"));
console::write_line(date1.to_string("f"));
console::write_line(date1.to_string("F"));
console::write_line(date1.to_string("g"));
console::write_line(date1.to_string("G"));
console::write_line(date1.to_string("h"));
console::write_line(date1.to_string("H"));
console::write_line(date1.to_string("i"));
console::write_line(date1.to_string("I"));
console::write_line(date1.to_string("j"));
console::write_line(date1.to_string("J"));
console::write_line(date1.to_string("k"));
console::write_line(date1.to_string("K"));
console::write_line(date1.to_string("l"));
console::write_line(date1.to_string("L"));
console::write_line(date1.to_string("m"));
console::write_line(date1.to_string("M"));
console::write_line(date1.to_string("n"));
console::write_line(date1.to_string("N"));
console::write_line(date1.to_string("o"));
console::write_line(date1.to_string("O"));
console::write_line(date1.to_string("p"));
console::write_line(date1.to_string("P"));
console::write_line(date1.to_string("s"));
console::write_line(date1.to_string("t"));
console::write_line(date1.to_string("T"));
console::write_line(date1.to_string("u"));
console::write_line(date1.to_string("U"));
console::write_line(date1.to_string("v"));
console::write_line(date1.to_string("V"));
console::write_line(date1.to_string("w"));
console::write_line(date1.to_string("W"));
console::write_line(date1.to_string("x"));
console::write_line(date1.to_string("X"));
console::write_line(date1.to_string("y"));
console::write_line(date1.to_string("Y"));
console::write_line(date1.to_string("z"));
console::write_line(date1.to_string("Z"));
}
};
Represents an instant in time, typically expressed as a date and time of day.
Definition date_time.h:85
#define startup_(main_method)
Defines the entry point to be called when the application loads. Generally this is set either to the ...
Definition startup.h:175
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10