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

def pycbf::cbf_handle_struct::set_datestamp (   args  ) 

Returns : 
*args   : int year,int month,int day,int hour,int minute,double second,
  int timezone,Float precision

C prototype: int cbf_set_datestamp (cbf_handle handle, unsigned int reserved,
         int    year, int month, int day, int hour, int minute,
         double second, int    timezone, double precision);

CBFLib documentation:
DESCRIPTION
cbf_set_datestamp sets the collection timestamp in seconds since 
January 1 1970 to the value specified by time. The timezone 
difference from UTC in minutes is set to timezone. If no timezone is 
desired, timezone should be CBF_NOTIM EZONE. The parameter reserved 
is presently unused and should be set to 0.
The precision of the new timestamp is specified by the value 
precision in seconds. If precision is 0, the saved timestamp is 
assumed accurate to 1 second.
ARGUMENTS
handle    CBF handle. reserved  Unused. Any value other than 0 is 
invalid. time      Timestamp in seconds since January 1 1970. 
timezone  Timezone difference from UTC in minutes or CBF_NOTIMEZONE. 
precision Timestamp precision in seconds.
RETURN VALUE
Returns an error code on failure or 0 for success. 
_________________________________________________________________

Definition at line 3191 of file pycbf.py.

03191                             :
        """
        Returns : 
        *args   : int year,int month,int day,int hour,int minute,double second,
                  int timezone,Float precision

        C prototype: int cbf_set_datestamp (cbf_handle handle, unsigned int reserved,
                         int    year, int month, int day, int hour, int minute,
                         double second, int    timezone, double precision);

        CBFLib documentation:
        DESCRIPTION
        cbf_set_datestamp sets the collection timestamp in seconds since 
        January 1 1970 to the value specified by time. The timezone 
        difference from UTC in minutes is set to timezone. If no timezone is 
        desired, timezone should be CBF_NOTIM EZONE. The parameter reserved 
        is presently unused and should be set to 0.
        The precision of the new timestamp is specified by the value 
        precision in seconds. If precision is 0, the saved timestamp is 
        assumed accurate to 1 second.
        ARGUMENTS
        handle    CBF handle. reserved  Unused. Any value other than 0 is 
        invalid. time      Timestamp in seconds since January 1 1970. 
        timezone  Timezone difference from UTC in minutes or CBF_NOTIMEZONE. 
        precision Timestamp precision in seconds.
        RETURN VALUE
        Returns an error code on failure or 0 for success. 
        _________________________________________________________________

        """
        return _pycbf.cbf_handle_struct_set_datestamp(*args)


Generated by  Doxygen 1.6.0   Back to index