Skip to main content

DateTimeConverter.TimeFromTimeSpan(Nullable<TimeSpan>, DateTime) Method

Converts TimeSpan values with the specified reference date to a DateTime value.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public static DateTime? TimeFromTimeSpan(
    TimeSpan? timeSpan,
    DateTime referenceDate
)

Parameters

Name Type Description
timeSpan Nullable<TimeSpan>

The TimeSpan value to convert.

referenceDate DateTime

The reference DateTime value.

Returns

Type Description
Nullable<DateTime>

The conversion result.

See Also