Class Format.DateTime
- Inheritance
-
Format.DateTime
- Implements
-
- Inherited Members
-
DateTime format specification
public record Format.DateTime : Format.Date, IEquatable<Format>, IEquatable<Format.Date>, IEquatable<Format.DateTime>
- Extension Methods
-
Constructors
[SetsRequiredMembers]
protected DateTime(Format.DateTime original)
Parameters
Properties
protected override Type EqualityContract { get; }
Property Value
Time format specification
public required Format.TimeFormatSpec TimeFormat { get; set; }
Property Value
The type of format (i.e., "number", "currency", "percentage",
"byte", "date", "datetime")
public override Format.FormatType Type { get; }
Property Value
Methods
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
public override sealed bool Equals(Format.Date? other)
Parameters
Returns
public virtual bool Equals(Format.DateTime? other)
Parameters
Returns
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
Returns
public override string ToString()
Returns
Operators
public static bool operator ==(Format.DateTime? left, Format.DateTime? right)
Parameters
Returns
public static bool operator !=(Format.DateTime? left, Format.DateTime? right)
Parameters
Returns