xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
date_time_kind.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
enum.hpp
"
6
8
namespace
xtd
{
21
enum class
date_time_kind
{
23
unspecified
,
25
utc
,
27
local
,
28
};
29
}
30
32
template
<>
struct
xtd::enum_register
<
xtd
::
date_time_kind
> {
33
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::date_time_kind>
{{
xtd::date_time_kind::unspecified
,
"unspecified"
}, {
xtd::date_time_kind::utc
,
"utc"
}, {
xtd::date_time_kind::local
,
"local"
}};}
34
};
enum.hpp
Contains enum_ and enum_ut_ keywords.
xtd::date_time_kind
date_time_kind
Specifies whether a DateTime object represents a local time, a Coordinated Universal Time (UTC),...
Definition
date_time_kind.hpp:21
xtd::enum_collection
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition
enum_collection.hpp:24
xtd::date_time_kind::utc
@ utc
The time represented is UTC.
Definition
date_time_kind.hpp:25
xtd::date_time_kind::unspecified
@ unspecified
The time represented is not specified as either local time or Coordinated Universal Time (UTC).
Definition
date_time_kind.hpp:23
xtd::date_time_kind::local
@ local
The time represented is local time.
Definition
date_time_kind.hpp:27
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.