212
219
return (end_time < current_time);
215
222
public string to_string () {
216
223
uint[] start = this.get_start_time ();
217
224
return "channel: %u, start: %04u-%02u-%02u %02u:%02u, duration: %u".printf (
218
225
this.Channel.Sid, start[0], start[1], start[2], start[3],
219
226
start[4], this.Duration);
222
242
private time_t get_end_time_timestamp () {
223
243
var t = Utils.create_time (this.starttime.year + 1900,
224
244
this.starttime.month + 1, this.starttime.day,