Logo Search packages:      
Sourcecode: libical version File versions  Download package

def Duration::Duration::seconds (   self,
  v = None 

Return or set duration in seconds

Definition at line 87 of file Duration.py.

00087                             :
        """Return or set duration in seconds"""
        if(v != None):
            self.dur = icaldurationtype_from_int(v);
            self.dict['value'] = icaltimedurationtype_as_ical_string(self.dur)
        return icaldurationtype_as_int(self.dur)
        return icaldurationtype_as_int(self.dur)

Generated by  Doxygen 1.6.0   Back to index