Show / Hide Table of Contents

Class CivilDateTime

Civil time representation similar to [google.type.DateTime][google.type.DateTime], but ensures that neither the timezone nor the UTC offset can be set to avoid confusion between civil and physical time queries.

Inheritance
object
CivilDateTime
Implements
IMessage<CivilDateTime>
IEquatable<CivilDateTime>
IDeepCloneable<CivilDateTime>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class CivilDateTime : IMessage<CivilDateTime>, IEquatable<CivilDateTime>, IDeepCloneable<CivilDateTime>, IBufferMessage, IMessage

Constructors

CivilDateTime()

Declaration
public CivilDateTime()

CivilDateTime(CivilDateTime)

Declaration
public CivilDateTime(CivilDateTime other)
Parameters
Type Name Description
CivilDateTime other

Properties

Date

Required. Calendar date.

Declaration
public Date Date { get; set; }
Property Value
Type Description
Date

Time

Optional. Time of day. Defaults to the start of the day, at midnight if omitted.

Declaration
public TimeOfDay Time { get; set; }
Property Value
Type Description
TimeOfDay
In this article
Back to top Generated by DocFX