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>
Properties
Section titled “Properties”DateTimeOffsetAtOrBefore.At Property
Section titled “DateTimeOffsetAtOrBefore.At Property”Gets the exact date.
public System.DateTimeOffset At { get; }Property Value
Section titled “Property Value”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; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”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);Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”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);Parameters
Section titled “Parameters”other DateTimeOffsetAtOrBefore
Returns
Section titled “Returns”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);Parameters
Section titled “Parameters”obj System.Object
The object to compare with the current instance.
Returns
Section titled “Returns”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();Returns
Section titled “Returns”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);Parameters
Section titled “Parameters”input System.String
The input string containing the date.
formatProvider System.IFormatProvider
The format provider.
Implements Parse(string, IFormatProvider)
Returns
Section titled “Returns”DateTimeOffsetAtOrBefore
A new instance of DateTimeOffsetAtOrBefore.
Remarks
Section titled “Remarks”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);Parameters
Section titled “Parameters”input System.ReadOnlySpan<System.Char>
The input span containing the date string.
formatProvider System.IFormatProvider
The format provider.
Implements Parse(ReadOnlySpan<char>, IFormatProvider)
Returns
Section titled “Returns”DateTimeOffsetAtOrBefore
A new instance of DateTimeOffsetAtOrBefore.
Remarks
Section titled “Remarks”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();Returns
Section titled “Returns”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);Parameters
Section titled “Parameters”input System.String
The input string containing the date.
formatProvider System.IFormatProvider
The format provider.
result DateTimeOffsetAtOrBefore
The parsed result, if successful.
Returns
Section titled “Returns”System.Boolean
True if parsing was successful; otherwise, false.
Remarks
Section titled “Remarks”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);Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”System.Boolean
True if parsing was successful; otherwise, false.
Remarks
Section titled “Remarks”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”)
Operators
Section titled “Operators”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);Parameters
Section titled “Parameters”right DateTimeOffsetAtOrBefore
Returns
Section titled “Returns”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);Parameters
Section titled “Parameters”right DateTimeOffsetAtOrBefore