Packages
libical-glib
ICal
Duration
Duration
Duration.bad_duration
Duration.from_int
Duration.from_string
Duration.null_duration
as_ical_string
as_int
get_days
get_hours
get_minutes
get_seconds
get_weeks
is_bad_duration
is_neg
is_null_duration
set_days
set_hours
set_is_neg
set_minutes
set_seconds
set_weeks
Duration.from_int
Description:
[
CCode
( has_construct_function =
false
) ]
[
Version
( since =
"1.0"
) ]
public
Duration.from_int
(
int
t)
Creates a
Duration
from the duration in second.
Parameters:
t
The duration in second
Returns:
The newly created
Duration