BiffDateModeRecord Struct
Definition
Represents a decoded DATEMODE record: whether serial dates in the workbook count from 1 January 1904 rather
than from the 1900 date system.
public readonly struct BiffDateModeRecord : IEquatable<BiffDateModeRecord>
- Implements
- Inherited Members
- Extension Methods
Remarks
The record identifier is DateMode. The payload is a single 16-bit value in both versions; any non-zero value selects the 1904 system.
Constructors
BiffDateModeRecord(bool)
Represents a decoded DATEMODE record: whether serial dates in the workbook count from 1 January 1904 rather
than from the 1900 date system.
public BiffDateModeRecord(bool Is1904)
Parameters
Is1904boolWhether the 1904 date system is in use.
Remarks
The record identifier is DateMode. The payload is a single 16-bit value in both versions; any non-zero value selects the 1904 system.
- See Also
Properties
Is1904
Whether the 1904 date system is in use.
public bool Is1904 { get; init; }
Property Value
Methods
Deconstruct(out bool)
public void Deconstruct(out bool Is1904)
Parameters
Is1904bool
Equals(BiffDateModeRecord)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(BiffDateModeRecord other)
Parameters
otherBiffDateModeRecordAn object to compare with this object.
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator ==(BiffDateModeRecord, BiffDateModeRecord)
public static bool operator ==(BiffDateModeRecord left, BiffDateModeRecord right)
Parameters
leftBiffDateModeRecordrightBiffDateModeRecord
Returns
operator !=(BiffDateModeRecord, BiffDateModeRecord)
public static bool operator !=(BiffDateModeRecord left, BiffDateModeRecord right)
Parameters
leftBiffDateModeRecordrightBiffDateModeRecord
Returns
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |