template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 985 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/wire_types.h
Public Methods
::fuchsia_intl::wire::CivilTime Build ()
Build and return the table. The builder should not be used after this.
bool has_year ()
void clear_year ()
Clears the year field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint16_t & year ()
Year, in the closed range `[1678, 2262]`.
BuilderImpl & year (uint16_t elem)
Year, in the closed range `[1678, 2262]`.
bool has_month ()
void clear_month ()
Clears the month field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_intl::wire::Month & month ()
Month of the year.
BuilderImpl & month (::fuchsia_intl::wire::Month elem)
Month of the year.
bool has_day ()
void clear_day ()
Clears the day field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint8_t & day ()
Day of the month, in the closed range `[1, 31]`.
BuilderImpl & day (uint8_t elem)
Day of the month, in the closed range `[1, 31]`.
bool has_hour ()
void clear_hour ()
Clears the hour field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint8_t & hour ()
Hour of the day, in the closed range `[0, 23]`.
BuilderImpl & hour (uint8_t elem)
Hour of the day, in the closed range `[0, 23]`.
bool has_minute ()
void clear_minute ()
Clears the minute field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint8_t & minute ()
Minute of the hour, in the closed range `[0, 59]`.
BuilderImpl & minute (uint8_t elem)
Minute of the hour, in the closed range `[0, 59]`.
bool has_second ()
void clear_second ()
Clears the second field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint8_t & second ()
Second of the minute, in the closed range `[0, 59]`.
(Note that Fuchsia does not currently calculate leap seconds when converting dates.)
BuilderImpl & second (uint8_t elem)
Second of the minute, in the closed range `[0, 59]`.
(Note that Fuchsia does not currently calculate leap seconds when converting dates.)
bool has_nanos ()
void clear_nanos ()
Clears the nanos field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & nanos ()
Nanosecond, in the closed range `[0, 999_999_999]`.
BuilderImpl & nanos (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Nanosecond, in the closed range `[0, 999_999_999]`.
bool has_weekday ()
void clear_weekday ()
Clears the weekday field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_intl::wire::DayOfWeek & weekday ()
Day of the week.
BuilderImpl & weekday (::fuchsia_intl::wire::DayOfWeek elem)
Day of the week.
bool has_year_day ()
void clear_year_day ()
Clears the year_day field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint16_t & year_day ()
Day of the year, in the closed range `[0, 365]`.
BuilderImpl & year_day (uint16_t elem)
Day of the year, in the closed range `[0, 365]`.
bool has_time_zone_id ()
void clear_time_zone_id ()
Clears the time_zone_id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_intl::wire::TimeZoneId & time_zone_id ()
The time zone corresponding to this time. If omitted, the default is UTC.
BuilderImpl & time_zone_id (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_intl::wire::TimeZoneId>> elem)
The time zone corresponding to this time. If omitted, the default is UTC.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_intl::wire::CivilTime, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_intl::wire::CivilTime>> && frame)