/** * Returns the end time as Date object. * * @param tz the timezone of the Asterisk server. * @return the end time as Date object. * @since 0.3 */ public Date getEndTimeAsDate(TimeZone tz) { return DateUtil.parseDateTime(endTime, tz); }
/** * Returns the end time as Date object. * * <p>This method asumes that the Asterisk server's timezone equals the default timezone of your * JVM. * * @return the end time as Date object. * @since 0.3 */ public Date getEndTimeAsDate() { return DateUtil.parseDateTime(endTime); }
/** * Returns the answer time as Date object. * * @param tz the timezone of the Asterisk server. * @return the answer time as Date object. * @since 0.3 */ public Date getAnswerTimeAsDate(TimeZone tz) { return DateUtil.parseDateTime(answerTime, tz); }
/** * Returns the answer time as Date object. * * <p>This method asumes that the Asterisk server's timezone equals the default timezone of your * JVM. * * @return the answer time as Date object. * @since 0.3 */ public Date getAnswerTimeAsDate() { return DateUtil.parseDateTime(answerTime); }
/** * Returns the start time as Date object. * * @param tz the timezone of the Asterisk server. * @return the start time as Date object. * @since 0.3 */ public Date getStartTimeAsDate(TimeZone tz) { return DateUtil.parseDateTime(startTime, tz); }
/** * Returns the start time as Date object. * * <p>This method asumes that the Asterisk server's timezone equals the default timezone of your * JVM. * * @return the start time as Date object. * @since 0.3 */ public Date getStartTimeAsDate() { return DateUtil.parseDateTime(startTime); }