Struct DatedShift
- Namespace
- Acuit.Pinpoint.Server
- Assembly
- Acuit.Pinpoint.Server.Abstractions.dll
A dated shift.
public readonly struct DatedShift : IEquatable<DatedShift>
- Implements
- Inherited Members
Constructors
DatedShift(DateOnly, byte)
A dated shift.
public DatedShift(DateOnly Date, byte Number)
Parameters
Properties
Date
The shift date.
public DateOnly Date { get; init; }
Property Value
Number
The shift number.
public byte Number { get; init; }
Property Value
Methods
Deconstruct(out DateOnly, out byte)
public void Deconstruct(out DateOnly Date, out byte Number)
Parameters
Equals(DatedShift)
public bool Equals(DatedShift other)
Parameters
otherDatedShift
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(DatedShift, DatedShift)
public static bool operator ==(DatedShift left, DatedShift right)
Parameters
leftDatedShiftrightDatedShift
Returns
operator !=(DatedShift, DatedShift)
public static bool operator !=(DatedShift left, DatedShift right)
Parameters
leftDatedShiftrightDatedShift