HealthServiceDateTime
HealthServiceDateTime
HealthServiceDateTime
Class
Definition
Represents a date and time.
In this article
public class HealthServiceDateTime : Microsoft.Health.ItemTypes.HealthRecordItemData, IComparable, IComparable<DateTime>, IComparable<Microsoft.Health.ItemTypes.HealthServiceDateTime>
type HealthServiceDateTime = class
inherit HealthRecordItemData
interface IComparable
interface IComparable<HealthServiceDateTime>
interface IComparable<DateTime>
Public Class HealthServiceDateTime
Inherits HealthRecordItemData
Implements IComparable, IComparable(Of DateTime), IComparable(Of HealthServiceDateTime)
Inheritance
HealthServiceDateTime HealthServiceDateTime HealthServiceDateTime
Implements
Remarks
A HealthServiceDateTime is different from a DateTime
in that the time is optional and it can be determined if it was
specified. Also, the time zone is optional and is not interpreted in
any way by HealthVault.
Constructors
HealthServiceDateTime()
HealthServiceDateTime()
HealthServiceDateTime()
Creates a new instance of the HealthServiceDateTime class
with the date set to the current date and the time not set.
HealthServiceDateTime(HealthServiceDate)
HealthServiceDateTime(HealthServiceDate)
HealthServiceDateTime(HealthServiceDate)
Creates a new instance of the HealthServiceDateTime class
with the specified date.
HealthServiceDateTime(DateTime)
HealthServiceDateTime(DateTime)
HealthServiceDateTime(DateTime)
Creates a new instance of the HealthServiceDateTime
class from the specified DateTime instance.
HealthServiceDateTime(HealthServiceDate, ApproximateTime)
HealthServiceDateTime(HealthServiceDate, ApproximateTime)
HealthServiceDateTime(HealthServiceDate, ApproximateTime)
Creates a new instance of the HealthServiceDateTime
class with the specified date and time.
HealthServiceDateTime(HealthServiceDate, ApproximateTime, CodableValue)
HealthServiceDateTime(HealthServiceDate, ApproximateTime, CodableValue)
HealthServiceDateTime(HealthServiceDate, ApproximateTime, CodableValue)
Creates a new instance of the HealthServiceDateTime
class with the specified date, time, and time zone.
Properties
Methods
Operators
Equality(HealthServiceDateTime, Object)
Equality(HealthServiceDateTime, Object)
Equality(HealthServiceDateTime, Object)
Gets a value indicating whether the specified object is equal to the specified
date.
Explicit(HealthServiceDateTime to DateTime)
Explicit(HealthServiceDateTime to DateTime)
Explicit(HealthServiceDateTime to DateTime)
Casts the HealthServiceDateTime instance to a System.DateTime object.
GreaterThan(HealthServiceDateTime, Object)
GreaterThan(HealthServiceDateTime, Object)
GreaterThan(HealthServiceDateTime, Object)
Gets a value indicating whether the specified date is greater than
the specified object.
Inequality(HealthServiceDateTime, Object)
Inequality(HealthServiceDateTime, Object)
Inequality(HealthServiceDateTime, Object)
Gets a value indicating whether the specified object is not equal to the specified
date.
LessThan(HealthServiceDateTime, Object)
LessThan(HealthServiceDateTime, Object)
LessThan(HealthServiceDateTime, Object)
Gets a value indicating whether the specified date is less than the specified
object.
Applies to