Exemple #1
0
 public PDateTime(PDateTime other) : this(PapillonPINVOKE.new_PDateTime__SWIG_3(PDateTime.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public void SetTimestamp(PDateTime t)
 {
     PapillonPINVOKE.PEntity_SetTimestamp(swigCPtr, PDateTime.getCPtr(t));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 public void SetTimestampLatestUpdate(PDateTime timestamp)
 {
     PapillonPINVOKE.PStore_SetTimestampLatestUpdate(swigCPtr, PDateTime.getCPtr(timestamp));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public void SetDetectionTime(PDateTime detectionTime)
 {
     PapillonPINVOKE.PEvent_SetDetectionTime(swigCPtr, PDateTime.getCPtr(detectionTime));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
 public void SetOccurrenceTime(PDateTime occurrenceTime)
 {
     PapillonPINVOKE.PEvent_SetOccurrenceTime(swigCPtr, PDateTime.getCPtr(occurrenceTime));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #6
0
    public int Compare(PDateTime other)
    {
        int ret = PapillonPINVOKE.PDateTime_Compare(swigCPtr, PDateTime.getCPtr(other));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #7
0
    public long GetMillisecondsTo(PDateTime d)
    {
        long ret = PapillonPINVOKE.PDateTime_GetMillisecondsTo(swigCPtr, PDateTime.getCPtr(d));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public PEventBuilder DetectionTime(PDateTime detectionTime)
    {
        PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_DetectionTime(swigCPtr, PDateTime.getCPtr(detectionTime)), false);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }