Method | Description | |
---|---|---|
Within ( DateTimeOffset field, int year ) : bool |
Asserts that a DateTimeOffset falls within a particular year.
|
|
Within ( DateTimeOffset field, int year, int month ) : bool |
Asserts that a DateTimeOffset falls within a particular month and year.
|
|
Within ( DateTimeOffset field, int year, int month, int day ) : bool |
Asserts that a DateTimeOffset falls within a particular day, month, and year.
|
|
Within ( DateTimeOffset field, int year, int month, int day, int hour ) : bool |
Asserts that a DateTimeOffset falls within a particular hour on a particular day, month, and year.
|
|
Within ( DateTimeOffset field, int year, int month, int day, int hour, int minute ) : bool |
Asserts that a DateTimeOffset falls within a particular hour and minute on a particular day, month, and year.
|
|
Within ( DateTimeOffset field, int year, int month, int day, int hour, int minute, int second ) : bool |
Asserts that a DateTimeOffset falls within a particular hour, minute, and second on a particular day, month, and year.
|
public static Within ( DateTimeOffset field, int year ) : bool | ||
field | DateTimeOffset | The date field to compare. |
year | int | The year. |
return | bool |
public static Within ( DateTimeOffset field, int year, int month ) : bool | ||
field | DateTimeOffset | The date field to compare. |
year | int | The year. |
month | int | The month. |
return | bool |
public static Within ( DateTimeOffset field, int year, int month, int day ) : bool | ||
field | DateTimeOffset | The date field to compare. |
year | int | The year. |
month | int | The month. |
day | int | The day. |
return | bool |
public static Within ( DateTimeOffset field, int year, int month, int day, int hour ) : bool | ||
field | DateTimeOffset | The date field to compare. |
year | int | The year. |
month | int | The month. |
day | int | The day. |
hour | int | The hour. |
return | bool |
public static Within ( DateTimeOffset field, int year, int month, int day, int hour, int minute ) : bool | ||
field | DateTimeOffset | The date field to compare. |
year | int | The year. |
month | int | The month. |
day | int | The day. |
hour | int | The hour. |
minute | int | The minute. |
return | bool |
public static Within ( DateTimeOffset field, int year, int month, int day, int hour, int minute, int second ) : bool | ||
field | DateTimeOffset | The date field to compare. |
year | int | The year. |
month | int | The month. |
day | int | The day. |
hour | int | The hour. |
minute | int | The minute. |
second | int | The second. |
return | bool |