Méthode | Description | |
---|---|---|
IsAfter ( this |
Checks that the actual DateTime is strictly after the given one.
|
|
IsAfterOrEqualTo ( this |
Checks that the actual DateTime is after or equals to the given one.
|
|
IsBefore ( this |
Checks that the actual DateTime is strictly before the given one.
|
|
IsBeforeOrEqualTo ( this |
Checks that the actual DateTime is before or equals to the given one.
|
|
IsEqualToIgnoringHours ( this |
Checks that actual and given DateTime have same year, month and day fields, * (Hours, minutes, seconds and millisecond fields are ignored in comparison). *
|
|
IsEqualToIgnoringMillis ( this |
Checks that actual and given DateTime have same year, month, day, hour, minute and second fields, (millisecond fields are ignored in comparison). Code example : Check can fail with dateTimes in same chronological millisecond time window, e.g : 2000-01-01T00:00:01.000 and 2000-01-01T00:00:00.999. check fails as second fields differ even if time difference is only 1 millis. |
|
IsEqualToIgnoringMinutes ( this |
Checks that actual and given DateTime have same year, month, day and hour fields, (Minutes, seconds and millisecond fields are ignored in comparison).
|
|
IsEqualToIgnoringSeconds ( this |
Checks that actual and given DateTime have same year, month, day, hour and minute fields, (Seconds and millisecond fields are ignored in comparison).
|
|
IsInSameDayAs ( this |
Checks that actual and given DateTime have same day, whatever the year or the month.
|
|
IsInSameMonthAs ( this |
Checks that actual and given DateTime have same month, whatever the year.
|
|
IsInSameYearAs ( this |
Checks that actual and given DateTime have same year.
|
public static IsAfter ( this |
||
check | this |
The fluent check to be extended. |
other | System.DateTime | The other DateTime. |
Résultat | ICheckLink |
public static IsAfterOrEqualTo ( this |
||
check | this |
The fluent check to be extended. |
other | System.DateTime | The other DateTime. |
Résultat | ICheckLink |
public static IsBefore ( this |
||
check | this |
The fluent check to be extended. |
other | System.DateTime | The other DateTime. |
Résultat | ICheckLink |
public static IsBeforeOrEqualTo ( this |
||
check | this |
The fluent check to be extended. |
other | System.DateTime | The other DateTime. |
Résultat | ICheckLink |
public static IsEqualToIgnoringHours ( this |
||
check | this |
The fluent check to be extended. |
other | System.DateTime | The other DateTime. |
Résultat | ICheckLink |
public static IsEqualToIgnoringMillis ( this |
||
check | this |
The fluent check to be extended. |
other | System.DateTime | The other DateTime. |
Résultat | ICheckLink |
public static IsEqualToIgnoringMinutes ( this |
||
check | this |
The fluent check to be extended. |
other | System.DateTime | The other DateTime. |
Résultat | ICheckLink |
public static IsEqualToIgnoringSeconds ( this |
||
check | this |
The fluent check to be extended. |
other | System.DateTime | The other DateTime. |
Résultat | ICheckLink |
public static IsInSameDayAs ( this |
||
check | this |
The fluent check to be extended. |
other | System.DateTime | The other DateTime. |
Résultat | ICheckLink |
public static IsInSameMonthAs ( this |
||
check | this |
The fluent check to be extended. |
other | System.DateTime | The other DateTime. |
Résultat | ICheckLink |
public static IsInSameYearAs ( this |
||
check | this |
The fluent check to be extended. |
other | System.DateTime | The other DateTime. |
Résultat | ICheckLink |