Skip to content
Documentation

DateTimeOffsetAtOrBefore Struct

Represents a System.DateTimeOffset and System.Boolean value determining whether this date should be applied exactly or also before it.

public readonly struct DateTimeOffsetAtOrBefore : System.IEquatable<HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore>, System.ISpanParsable<HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore>, System.IParsable<HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore>

Implements System.IEquatable<DateTimeOffsetAtOrBefore>, System.ISpanParsable<DateTimeOffsetAtOrBefore>, System.IParsable<DateTimeOffsetAtOrBefore>

Gets the exact date.

public System.DateTimeOffset At { get; }

System.DateTimeOffset

DateTimeOffsetAtOrBefore.ExactlyAt Property

Section titled “DateTimeOffsetAtOrBefore.ExactlyAt Property”

Gets a System.Boolean value determining whether At should be applied exactly or also before it.

public bool ExactlyAt { get; }

System.Boolean

DateTimeOffsetAtOrBefore.Create(DateTimeOffset, bool) Method

Section titled “DateTimeOffsetAtOrBefore.Create(DateTimeOffset, bool) Method”

Creates a new DateTimeOffsetAtOrBefore object.

public static HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore Create(System.DateTimeOffset at, bool exactlyAt=false);

at System.DateTimeOffset

The System.DateTimeOffset which can be applied exactly or also before it.

exactlyAt System.Boolean

The System.Boolean value determining whether the parameter ‘at’ should be applied exactly or also before it.

DateTimeOffsetAtOrBefore
A new instance of DateTimeOffsetAtOrBefore.

DateTimeOffsetAtOrBefore.Equals(DateTimeOffsetAtOrBefore) Method

Section titled “DateTimeOffsetAtOrBefore.Equals(DateTimeOffsetAtOrBefore) Method”
public bool Equals(HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore other);

other DateTimeOffsetAtOrBefore

System.Boolean

DateTimeOffsetAtOrBefore.Equals(object) Method

Section titled “DateTimeOffsetAtOrBefore.Equals(object) Method”

Indicates whether this instance and a specified object are equal.

public override bool Equals(object? obj);

obj System.Object

The object to compare with the current instance.

System.Boolean
true if obj and this instance are the same type and represent the same value; otherwise, false.

DateTimeOffsetAtOrBefore.GetHashCode() Method

Section titled “DateTimeOffsetAtOrBefore.GetHashCode() Method”

Returns the hash code for this instance.

public override int GetHashCode();

System.Int32
A 32-bit signed integer that is the hash code for this instance.

DateTimeOffsetAtOrBefore.Parse(string, IFormatProvider) Method

Section titled “DateTimeOffsetAtOrBefore.Parse(string, IFormatProvider) Method”

Parses the input string into a DateTimeOffsetAtOrBefore instance.

public static HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore Parse(string input, System.IFormatProvider? formatProvider);

input System.String

The input string containing the date.

formatProvider System.IFormatProvider

The format provider.

Implements Parse(string, IFormatProvider)

DateTimeOffsetAtOrBefore
A new instance of DateTimeOffsetAtOrBefore.

The input string should follow the ISO 8601 format for dates and times. It may optionally end with ‘,exact’ (or ‘, exact’ with whitespace) to specify that the date is exact.

Supported formats:

  • For exact date and time: “YYYY-MM-ddTHH:mm:ss[,exact]” (e.g. “2002-06-04T14:30:00,exact”)
  • For date only: “YYYY-MM-dd[,exact]” (e.g. “2002-06-04”)
  • For date with additional information: “YYYY-MM-ddTHH:mm:ss,f[,exact]” (e.g. “2002-06-04T14:30:00,55”)

DateTimeOffsetAtOrBefore.Parse(ReadOnlySpan<char>, IFormatProvider) Method

Section titled “DateTimeOffsetAtOrBefore.Parse(ReadOnlySpan<char>, IFormatProvider) Method”

Parses the input span into a DateTimeOffsetAtOrBefore instance.

public static HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore Parse(System.ReadOnlySpan<char> input, System.IFormatProvider? formatProvider);

input System.ReadOnlySpan<System.Char>

The input span containing the date string.

formatProvider System.IFormatProvider

The format provider.

Implements Parse(ReadOnlySpan<char>, IFormatProvider)

DateTimeOffsetAtOrBefore
A new instance of DateTimeOffsetAtOrBefore.

The input string should follow the ISO 8601 format for dates and times. It may optionally end with ‘,exact’ (or ‘, exact’ with whitespace) to specify that the date is exact.

Supported formats:

  • For exact date and time: “YYYY-MM-ddTHH:mm:ss[,exact]” (e.g. “2002-06-04T14:30:00,exact”)
  • For date only: “YYYY-MM-dd[,exact]” (e.g. “2002-06-04”)
  • For date with additional information: “YYYY-MM-ddTHH:mm:ss,f[,exact]” (e.g. “2002-06-04T14:30:00,55”)

DateTimeOffsetAtOrBefore.ToString() Method

Section titled “DateTimeOffsetAtOrBefore.ToString() Method”

Converts the value of the current DateTimeOffsetAtOrBefore object to its equivalent System.String representation.

public override string ToString();

System.String
A string representation of a DateTimeOffsetAtOrBefore object that includes At and ExactlyAt.

DateTimeOffsetAtOrBefore.TryParse(string, IFormatProvider, DateTimeOffsetAtOrBefore) Method

Section titled “DateTimeOffsetAtOrBefore.TryParse(string, IFormatProvider, DateTimeOffsetAtOrBefore) Method”

Tries to parse the input string into a DateTimeOffsetAtOrBefore instance.

public static bool TryParse(string? input, System.IFormatProvider? formatProvider, out HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore result);

input System.String

The input string containing the date.

formatProvider System.IFormatProvider

The format provider.

result DateTimeOffsetAtOrBefore

The parsed result, if successful.

System.Boolean
True if parsing was successful; otherwise, false.

The input string should follow the ISO 8601 format for dates and times. It may optionally end with ‘,exact’ (or ‘, exact’ with whitespace) to specify that the date is exact.

Supported formats:

  • For exact date and time: “YYYY-MM-ddTHH:mm:ss[,exact]” (e.g. “2002-06-04T14:30:00,exact”)
  • For date only: “YYYY-MM-dd[,exact]” (e.g. “2002-06-04”)
  • For date with additional information: “YYYY-MM-ddTHH:mm:ss,f[,exact]” (e.g. “2002-06-04T14:30:00,55”)

DateTimeOffsetAtOrBefore.TryParse(ReadOnlySpan<char>, IFormatProvider, DateTimeOffsetAtOrBefore) Method

Section titled “DateTimeOffsetAtOrBefore.TryParse(ReadOnlySpan<char>, IFormatProvider, DateTimeOffsetAtOrBefore) Method”

Tries to parse the input span into a DateTimeOffsetAtOrBefore instance.

public static bool TryParse(System.ReadOnlySpan<char> input, System.IFormatProvider? formatProvider, out HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore result);

input System.ReadOnlySpan<System.Char>

The input span containing the date string.

formatProvider System.IFormatProvider

The format provider.

result DateTimeOffsetAtOrBefore

The parsed result, if successful.

System.Boolean
True if parsing was successful; otherwise, false.

The input string should follow the ISO 8601 format for dates and times. It may optionally end with ‘,exact’ (or ‘, exact’ with whitespace) to specify that the date is exact.

Supported formats:

  • For exact date and time: “YYYY-MM-ddTHH:mm:ss[,exact]” (e.g. “2002-06-04T14:30:00,exact”)
  • For date only: “YYYY-MM-dd[,exact]” (e.g. “2002-06-04”)
  • For date with additional information: “YYYY-MM-ddTHH:mm:ss,f[,exact]” (e.g. “2002-06-04T14:30:00,55”)

DateTimeOffsetAtOrBefore.operator ==(DateTimeOffsetAtOrBefore, DateTimeOffsetAtOrBefore) Operator

Section titled “DateTimeOffsetAtOrBefore.operator ==(DateTimeOffsetAtOrBefore, DateTimeOffsetAtOrBefore) Operator”
public static bool operator ==(HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore left, HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore right);

left DateTimeOffsetAtOrBefore

right DateTimeOffsetAtOrBefore

System.Boolean

DateTimeOffsetAtOrBefore.operator !=(DateTimeOffsetAtOrBefore, DateTimeOffsetAtOrBefore) Operator

Section titled “DateTimeOffsetAtOrBefore.operator !=(DateTimeOffsetAtOrBefore, DateTimeOffsetAtOrBefore) Operator”
public static bool operator !=(HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore left, HAKOM.TSM.Net.Api.Time.DateTimes.DateTimeOffsetAtOrBefore right);

left DateTimeOffsetAtOrBefore

right DateTimeOffsetAtOrBefore

System.Boolean

© 2026 Volue.Version v0.6.38017 November 2026