/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.2 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ package com.frostwire.jlibtorrent.swig; public class ptime { private long swigCPtr; protected boolean swigCMemOwn; protected ptime(long cPtr, boolean cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = cPtr; } protected static long getCPtr(ptime obj) { return (obj == null) ? 0 : obj.swigCPtr; } protected void finalize() { delete(); } public synchronized void delete() { if (swigCPtr != 0) { if (swigCMemOwn) { swigCMemOwn = false; libtorrent_jni.delete_ptime(swigCPtr); } swigCPtr = 0; } } public String zone_name() { return libtorrent_jni.ptime_zone_name(swigCPtr, this); } public String zone_abbrev() { return libtorrent_jni.ptime_zone_abbrev(swigCPtr, this); } public String zone_as_posix_string() { return libtorrent_jni.ptime_zone_as_posix_string(swigCPtr, this); } public boolean is_not_a_date_time() { return libtorrent_jni.ptime_is_not_a_date_time(swigCPtr, this); } public boolean is_infinity() { return libtorrent_jni.ptime_is_infinity(swigCPtr, this); } public boolean is_pos_infinity() { return libtorrent_jni.ptime_is_pos_infinity(swigCPtr, this); } public boolean is_neg_infinity() { return libtorrent_jni.ptime_is_neg_infinity(swigCPtr, this); } public boolean is_special() { return libtorrent_jni.ptime_is_special(swigCPtr, this); } public ptime() { this(libtorrent_jni.new_ptime(), true); } }