public PDateTime(PDateTime other) : this(PapillonPINVOKE.new_PDateTime__SWIG_3(PDateTime.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetTimestamp(PDateTime t) { PapillonPINVOKE.PEntity_SetTimestamp(swigCPtr, PDateTime.getCPtr(t)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetTimestampLatestUpdate(PDateTime timestamp) { PapillonPINVOKE.PStore_SetTimestampLatestUpdate(swigCPtr, PDateTime.getCPtr(timestamp)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetDetectionTime(PDateTime detectionTime) { PapillonPINVOKE.PEvent_SetDetectionTime(swigCPtr, PDateTime.getCPtr(detectionTime)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetOccurrenceTime(PDateTime occurrenceTime) { PapillonPINVOKE.PEvent_SetOccurrenceTime(swigCPtr, PDateTime.getCPtr(occurrenceTime)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public int Compare(PDateTime other) { int ret = PapillonPINVOKE.PDateTime_Compare(swigCPtr, PDateTime.getCPtr(other)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }