/** * Creates UsecTimestamp based on specified microsecond timestamp. * * @param usecTime * timestamp, in microsecond * @throws IllegalArgumentException * if usecTime is negative */ public UsecTimestamp(long usecTime) { setTimeUsec(usecTime); }
/** * Creates UsecTimestamp based on specified microsecond timestamp. * * @param usecTime * timestamp, in microsecond * @throws IllegalArgumentException * if usecTime is negative */ public UsecTimestamp(Number usecTime) { setTimeUsec(usecTime.longValue()); }