コード例 #1
0
 /// <summary>
 ///     Determines whether [is before or equal] [the specified destination].
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="destination">The destination.</param>
 /// <param name="redundancy">The redundancy.</param>
 /// <returns><c>true</c> if [is before or equal] [the specified destination]; otherwise, <c>false</c>.</returns>
 public static bool IsBeforeOrEqual(this DateTime source, DateTime destination, TimeSpan redundancy)
 {
     return(DateTimeUtility.IsBeforeOrEqual(source, destination, redundancy));
 }
コード例 #2
0
 /// <summary>
 ///     Determines whether [is before or equal] [the specified destination].
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="destination">The destination.</param>
 /// <returns><c>true</c> if [is before or equal] [the specified destination]; otherwise, <c>false</c>.</returns>
 public static bool IsBeforeOrEqual(this DateTime source, DateTime destination)
 {
     return(DateTimeUtility.IsBeforeOrEqual(source, destination));
 }