xo::ical::VEVENT method finish (public)

 <instance of xo::ical::VEVENT[i]> finish parse_error

Defined in packages/xotcl-core/tcl/ical-procs.tcl

In case, there was no :dtend given, set it either to the value of :dtstart, or :dtstart + :duration

Parameters:
parse_error

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
if {![info exists :dtend]} {
  set end_clock [clock scan ${:dtstart}]
  if {[info exists :duration]} {
    incr end_clock ${:duration}
  }
  set :dtend [::xo::ical clock_to_oacstime $end_clock]
}
# TODO: not sure, for what purpose we need parse_error
incr $parse_error $parse_error
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: