Show / Hide Table of Contents

Struct TimeWindow

Represents a timewindow.

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public struct TimeWindow

Properties

Default

Returns a default timewindow with unlimited arrival/departure times.

Declaration
public static TimeWindow Default { get; }
Property Value
TimeWindow

Max

The maximum time in seconds.

Declaration
public float Max { get; set; }
Property Value
System.Single

Min

The minimum time in seconds.

Declaration
public float Min { get; set; }
Property Value
System.Single

Methods

IsValidAt(Single)

Returns true if this window is valid at the given seconds.

Declaration
public bool IsValidAt(float seconds)
Parameters
System.Single seconds

The time.

Returns
System.Boolean

MinDiff(Single)

Returns the minimum difference.

Declaration
public float MinDiff(float seconds)
Parameters
System.Single seconds

The time.

Returns
System.Single

ToString()

Returns the fully qualified type name of this instance.

Declaration
public override string ToString()
Returns
System.String

Overrides
System.ValueType.ToString()
Back to top Built by Itinero, MIT licensed.