Beispiel #1
0
 /// <summary>
 /// Helper function to compare the value of a PLIST_DATE node against
 /// a given set of seconds and fraction of a second since epoch.
 /// </summary>
 /// <param name="datenode">
 /// node of type PLIST_DATE
 /// </param>
 /// <param name="cmpsec">
 /// number of seconds since epoch to compare against
 /// </param>
 /// <param name="cmpusec">
 /// fraction of a second in microseconds to compare against
 /// </param>
 /// <returns>
 /// 0 if the node's date is equal to the supplied values,
 /// 1 if the node's date is greater than the supplied values,
 /// or -1 if the node's date is less than the supplied values.
 /// </returns>
 public virtual int plist_date_val_compare(PlistHandle datenode, int cmpsec, int cmpusec)
 {
     return(PlistNativeMethods.plist_date_val_compare(datenode, cmpsec, cmpusec));
 }