Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }