Kimono.KDateTime.SecsTo C# (CSharp) 메소드

SecsTo() 공개 메소드

Returns the number of seconds from this date/time to the other date/time. Before performing the comparison, the two date/times are converted to UTC to ensure that the result is correct if one of the two date/times has daylight saving time (DST) and the other doesn't. The exception is when both instances are local clock time, in which case no conversion to UTC is done. Note that if either instance is a local clock time (type ClockTime), the result cannot be guaranteed to be accurate, since by definition they contain no information about time zones or daylight savings changes. If one instance is date-only and the other is date-time, the date-time value is first converted to the same time specification as the date-only value, and the result is the difference in days between the resultant date and the date-only date. If both instances are date-only, the result is the difference in days between the two dates, ignoring time zones. name="other" other date/time
public SecsTo ( KDateTime other ) : int
other KDateTime
리턴 int
        public int SecsTo(KDateTime other)
        {
            return (int) interceptor.Invoke("secsTo#", "secsTo(const KDateTime&) const", typeof(int), typeof(KDateTime), other);
        }