ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
icu4x::IsoDateTime Struct Reference

#include <IsoDateTime.d.hpp>

Static Public Member Functions

static diplomat::result< icu4x::IsoDateTime, icu4x::Rfc9557ParseErrorfrom_string (std::string_view v)
 

Public Attributes

std::unique_ptr< icu4x::IsoDatedate
 
std::unique_ptr< icu4x::Timetime
 

Detailed Description

An ICU4X DateTime object capable of containing a ISO-8601 date and time.

See the Rust documentation for DateTime for more information.

Member Function Documentation

◆ from_string()

diplomat::result< icu4x::IsoDateTime, icu4x::Rfc9557ParseError > icu4x::IsoDateTime::from_string ( std::string_view v)
inlinestatic

Creates a new IsoDateTime from an IXDTF string.

See the Rust documentation for try_from_str for more information.

Member Data Documentation

◆ date

std::unique_ptr<icu4x::IsoDate> icu4x::IsoDateTime::date

◆ time

std::unique_ptr<icu4x::Time> icu4x::IsoDateTime::time

The documentation for this struct was generated from the following files: