Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }