Class QueryableDateTime
Used by querying to compare datetime-values.
Inheritance
Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingLinq
Assembly: Stylelabs.M.Sdk.dll
Syntax
public class QueryableDateTimeOperators
operator ==(QueryableDateTime, DateTime)
Equals operator.
Declaration
public static bool operator ==(QueryableDateTime obj1, DateTime obj2)Parameters
| Type | Name | Description |
|---|---|---|
| QueryableDateTime | obj1 |
Left operand. |
| DateTime | obj2 |
Right operand. |
Returns
| Type | Description |
|---|---|
| bool |
true if the operator evaluates to true, false otherwise. |
operator >(QueryableDateTime, DateTime)
Greater than operator.
Declaration
public static bool operator >(QueryableDateTime obj1, DateTime obj2)Parameters
| Type | Name | Description |
|---|---|---|
| QueryableDateTime | obj1 |
Left operand. |
| DateTime | obj2 |
Right operand. |
Returns
| Type | Description |
|---|---|
| bool |
true if the operator evaluates to true, false otherwise. |
operator >=(QueryableDateTime, DateTime)
Greater or equals to operator.
Declaration
public static bool operator >=(QueryableDateTime obj1, DateTime obj2)Parameters
| Type | Name | Description |
|---|---|---|
| QueryableDateTime | obj1 |
Left operand. |
| DateTime | obj2 |
Right operand. |
Returns
| Type | Description |
|---|---|
| bool |
true if the operator evaluates to true, false otherwise. |
operator !=(QueryableDateTime, DateTime)
Not equals operator.
Declaration
public static bool operator !=(QueryableDateTime obj1, DateTime obj2)Parameters
| Type | Name | Description |
|---|---|---|
| QueryableDateTime | obj1 |
Left operand. |
| DateTime | obj2 |
Right operand. |
Returns
| Type | Description |
|---|---|
| bool |
true if the operator evaluates to true, false otherwise. |
operator <(QueryableDateTime, DateTime)
Less than operator.
Declaration
public static bool operator <(QueryableDateTime obj1, DateTime obj2)Parameters
| Type | Name | Description |
|---|---|---|
| QueryableDateTime | obj1 |
Left operand. |
| DateTime | obj2 |
Right operand. |
Returns
| Type | Description |
|---|---|
| bool |
true if the operator evaluates to true, false otherwise. |
operator <=(QueryableDateTime, DateTime)
Less or equals to operator.
Declaration
public static bool operator <=(QueryableDateTime obj1, DateTime obj2)Parameters
| Type | Name | Description |
|---|---|---|
| QueryableDateTime | obj1 |
Left operand. |
| DateTime | obj2 |
Right operand. |
Returns
| Type | Description |
|---|---|
| bool |
true if the operator evaluates to true, false otherwise. |