Class DateTimeValue
- Namespace
- CedarDotNet.Values
- Assembly
- CedarDotNet.dll
The Cedar value that represents a date and time.
public sealed record DateTimeValue : Value, IEquatable<Value>, IEquatable<DateTimeValue>
- Inheritance
-
DateTimeValue
- Implements
- Inherited Members
Constructors
DateTimeValue(DateTimeOffset)
Creates a new DateTimeValue instance.
public DateTimeValue(DateTimeOffset value)
Parameters
value
DateTimeOffsetThe value.
Properties
Value
The value.
public DateTimeOffset Value { get; }