57 auto opt_year =
call.get_year();
58 auto opt_month =
call.get_month();
59 auto opt_day =
call.get_day();
60 auto opt_hour =
call.get_hour();
61 auto opt_minute =
call.get_minute();
62 auto opt_second =
call.get_second();
63 bool has_year = opt_year.has_value();
64 bool has_month = opt_month.has_value();
65 bool has_day = opt_day.has_value();
66 bool has_hour = opt_hour.has_value();
67 bool has_minute = opt_minute.has_value();
68 bool has_second = opt_second.has_value();
72 value.year = *opt_year;
75 value.month = *opt_month;
78 value.day_of_month = *opt_day;
81 value.hour = *opt_hour;
84 value.minute = *opt_minute;
87 value.second = *opt_second;
93 this->
year_ = *opt_year;
97 this->
day_ = *opt_day;
99 this->
hour_ = *opt_hour;
110 temp.
year = *opt_year;
115 temp.
month = *opt_month;
125 temp.
hour = *opt_hour;
130 temp.
minute = *opt_minute;
135 temp.
second = *opt_second;