Kimono.KDateTime.Compare C# (CSharp) Method

Compare() public method

Compare this instance with another to determine whether they are simultaneous, earlier or later, and in the case of date-only values, whether they overlap (i.e. partly coincide but are not wholly simultaneous). The comparison takes time zones into account: if the two instances have different time zones, they are first converted to UTC before comparing. If both instances are date/time values, this instance is considered to be either simultaneous, earlier or later, and does not overlap. If one instance is date-only and the other is a date/time, this instance is either strictly earlier, strictly later, or overlaps. If both instance are date-only, they are considered simultaneous if both their start of day and end of day times are simultaneous with each other. (Both start and end of day times need to be considered in case a daylight savings change occurs during that day.) Otherwise, this instance can be strictly earlier, earlier but overlapping, later but overlapping, or strictly later. Note that if either instance is a local clock time (type ClockTime), the result cannot be guaranteed to be correct, since by definition they contain no information about time zones or daylight savings changes.
public Compare ( KDateTime other ) : KDateTime.Comparison
other KDateTime
return KDateTime.Comparison
        public KDateTime.Comparison Compare(KDateTime other)
        {
            return (KDateTime.Comparison) interceptor.Invoke("compare#", "compare(const KDateTime&) const", typeof(KDateTime.Comparison), typeof(KDateTime), other);
        }