/** * <summary> * Returns the current time in Unix format (number of * seconds elapsed since Jan 1st, 1970). * <para> * </para> * <para> * </para> * </summary> * <returns> * an integer corresponding to the current time in Unix format (number of * seconds elapsed since Jan 1st, 1970) * </returns> * <para> * On failure, throws an exception or returns <c>YGps.UNIXTIME_INVALID</c>. * </para> */ public long get_unixTime() { long res; if (_func == null) { throw new YoctoApiProxyException("No Gps connected"); } res = _func.get_unixTime(); if (res == YAPI.INVALID_INT) { res = _UnixTime_INVALID; } return(res); }