Gets the index of the interval containing a value.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Map ( _ value As Object, _ provider As IFormatProvider _ ) As Integer |
| C# |
|---|
public int Map ( Object value, IFormatProvider provider ) |
| C++ |
|---|
public: int Map ( Object^ value, IFormatProvider^ provider ) |
Parameters
- value (System.Object)
- A value that can be converted to DateTime.
- provider (System.IFormatProvider)
- An IFormatProvider object that is used when converting value to a DateTime value.
Return Value
The zero-based index of the interval containing value.
Exceptions
| Exception | Condition |
|---|---|
| InvalidCastException | value is of a type that can not be converted to a DateTime value. |