Skip to content
Documentation

StartOfTimeIsAfterGivenDateException Class

Gets thrown when StartDate is greater than the given date in the alignment methods: align previous or align next.

public sealed class StartOfTimeIsAfterGivenDateException : HAKOM.ErrorHandling.Core.Net.Api.HakomException

Inheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 StartOfTimeIsAfterGivenDateException

When aligning a System.DateTimeOffset to the grid of the time series with AlignWithPrevious(this DateTimeOffset, IInterval, ITimeZone, DateTimeOffset, IIntervalFactory, ITimeSeriesDataFactory) or AlignWithNext(this DateTimeOffset, IInterval, ITimeZone, DateTimeOffset, IIntervalFactory, ITimeSeriesDataFactory), the specified StartOfTime must be before the System.DateTimeOffset to be aligned.

This exception is identified by error code HK15035.

StartOfTimeIsAfterGivenDateException.EquivalentHttpStatusCode Property

Section titled “StartOfTimeIsAfterGivenDateException.EquivalentHttpStatusCode Property”

When unhandled within an HTTP request, this exception produces HTTP 400 (Bad Request).

protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }

System.Net.HttpStatusCode

© 2026 Volue.Version v0.6.38017 November 2026