ICU4X
International Components for Unicode
|
#include <Time.d.hpp>
Public Member Functions | |
uint8_t | hour () const |
uint8_t | minute () const |
uint8_t | second () const |
uint32_t | subsecond () const |
Static Public Member Functions | |
static diplomat::result< std::unique_ptr< icu4x::Time >, icu4x::CalendarError > | create (uint8_t hour, uint8_t minute, uint8_t second, uint32_t subsecond) |
static diplomat::result< std::unique_ptr< icu4x::Time >, icu4x::Rfc9557ParseError > | from_string (std::string_view v) |
static diplomat::result< std::unique_ptr< icu4x::Time >, icu4x::CalendarError > | start_of_day () |
static diplomat::result< std::unique_ptr< icu4x::Time >, icu4x::CalendarError > | noon () |
static void | operator delete (void *ptr) |
An ICU4X Time object representing a time in terms of hour, minute, second, nanosecond
See the Rust documentation for Time
for more information.
|
inlinestatic |
Creates a new Time
given field values
See the Rust documentation for try_new
for more information.
|
inlinestatic |
Creates a new Time
from an IXDTF string.
See the Rust documentation for try_from_str
for more information.
|
inline |
Returns the hour in this time
See the Rust documentation for hour
for more information.
|
inline |
Returns the minute in this time
See the Rust documentation for minute
for more information.
|
inlinestatic |
Creates a new Time
representing noon (12:00:00.000).
See the Rust documentation for noon
for more information.
|
inlinestatic |
|
inline |
Returns the second in this time
See the Rust documentation for second
for more information.
|
inlinestatic |
Creates a new Time
representing the start of the day (00:00:00.000).
See the Rust documentation for start_of_day
for more information.
|
inline |
Returns the subsecond in this time as nanoseconds
See the Rust documentation for subsecond
for more information.