示例#1
0
 /**
  * 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);
 }
示例#2
0
 /**
  * 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);
 }
示例#3
0
 /**
  * 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);
 }
示例#4
0
 /**
  * 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);
 }
示例#5
0
 /**
  * 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);
 }
示例#6
0
 /**
  * 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);
 }