24#ifndef HTML_DATETIME_HPP
25#define HTML_DATETIME_HPP
37#include <dar/libdar.hpp>
40#include "body_builder.hpp"
41#include "html_form_input.hpp"
42#include "html_form_select.hpp"
57 static const std::string changed;
70 void set_value(
const libdar::infinint & val);
73 virtual void on_event(
const std::string & event_name)
override;
87 void update_from(
struct tm val);
class of object that are pointed/triggered to by others
Definition: actor.hpp:55
class body_builder is the root class of object generating HTML body
Definition: body_builder.hpp:99
class chemin definition
Definition: chemin.hpp:51
class events
Definition: events.hpp:52
class html_datetime is a html_form_field object
Definition: html_datetime.hpp:55
virtual void on_event(const std::string &event_name) override
inherited from actor parent class
Definition: html_datetime.cpp:254
libdar::infinint get_value() const
return the provided date in the form a number of seconds since 1969
Definition: html_datetime.cpp:211
virtual std::string inherited_get_body_part(const chemin &path, const request &req) override
inherited from body_builder
Definition: html_datetime.cpp:264
void set_value(const libdar::infinint &val)
setup the initial value displayed to the user
Definition: html_datetime.cpp:240
class holding fields of an HTTP request (method, URI, header, cookies, and so on)
Definition: request.hpp:45