public static IsEqualToTheSecond ( this dateTime, System.DateTime otherDateTime ) : bool | ||
dateTime | this | |
otherDateTime | System.DateTime | |
리턴 | bool |
public static bool IsEqualToTheSecond(this DateTime dateTime, DateTime otherDateTime)
{
return dateTime.ToStableUniversalTime().RoundToSecond().Equals(otherDateTime.ToStableUniversalTime().RoundToSecond());
}