Click or drag to resize

TimeStandardConverter.TryConvert Method

Tries to convert the specified JulianDate to the specified TimeStandard, returning success or failure.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public static bool TryConvert(
	JulianDate value,
	TimeStandard to,
	out JulianDate result
)

Parameters

value
Type: AGI.Foundation.Time.JulianDate
The JulianDate to convert.
to
Type: AGI.Foundation.Time.TimeStandard
The TimeStandard to convert value to.
result
Type: AGI.Foundation.Time.JulianDate
On return, the resulting JulianDate equivalent to value in the new TimeStandard.

Return Value

Type: Boolean
true if value could be converted to the requested TimeStandardto; otherwise false.
See Also