Table of Contents

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

Date DateOnly

The shift date.

Number byte

The shift number.

Properties

Date

The shift date.

public DateOnly Date { get; init; }

Property Value

DateOnly

Number

The shift number.

public byte Number { get; init; }

Property Value

byte

Methods

Deconstruct(out DateOnly, out byte)

public void Deconstruct(out DateOnly Date, out byte Number)

Parameters

Date DateOnly
Number byte

Equals(DatedShift)

public bool Equals(DatedShift other)

Parameters

other DatedShift

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(DatedShift, DatedShift)

public static bool operator ==(DatedShift left, DatedShift right)

Parameters

left DatedShift
right DatedShift

Returns

bool

operator !=(DatedShift, DatedShift)

public static bool operator !=(DatedShift left, DatedShift right)

Parameters

left DatedShift
right DatedShift

Returns

bool