Exemplo n.º 1
0
 /// <summary>
 ///     Determines whether the specified destination is before.
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="destination">The destination.</param>
 /// <param name="redundancy">The redundancy.</param>
 /// <returns><c>true</c> if the specified destination is before; otherwise, <c>false</c>.</returns>
 public static bool IsBefore(this DateTime source, DateTime destination, TimeSpan redundancy)
 {
     return(DateTimeUtility.IsBefore(source, destination, redundancy));
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Determines whether the specified destination is before.
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="destination">The destination.</param>
 /// <returns><c>true</c> if the specified destination is before; otherwise, <c>false</c>.</returns>
 public static bool IsBefore(this DateTime source, DateTime destination)
 {
     return(DateTimeUtility.IsBefore(source, destination));
 }