Exemple #1
0
 public PDate(PDate other) : this(PapillonPINVOKE.new_PDate__SWIG_1(PDate.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
    public int Compare(PDate other)
    {
        int ret = PapillonPINVOKE.PDate_Compare(swigCPtr, PDate.getCPtr(other));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #3
0
    public int GetDaysTo(PDate d)
    {
        int ret = PapillonPINVOKE.PDate_GetDaysTo(swigCPtr, PDate.getCPtr(d));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #4
0
 public PDateTime(PDate date, PTime time) : this(PapillonPINVOKE.new_PDateTime__SWIG_2(PDate.getCPtr(date), PTime.getCPtr(time)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }