irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

datetime.hpp File Reference
#include <time.h>
#include "debug.hpp"
#include "rodsType.h"
#include <boost/interprocess/detail/os_file_functions.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/convenience.hpp>
Include dependency graph for datetime.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define time_type_gt(mtim, timestamp)    (mtim > timestamp)
 
#define time_type_set(mtim, timestamp)    mtim = timestamp;
 
#define time_type_initializer   ((time_type) 0)
 

Typedefs

typedef time_t time_type
 

Functions

int strttime (char *timestr, char *timeformat, rodsLong_t *t)
 
int ttimestr (char *buf, int n, char *timeformat, rodsLong_t *t)
 

Macro Definition Documentation

◆ time_type_gt

#define time_type_gt (   mtim,
  timestamp 
)     (mtim > timestamp)

Definition at line 17 of file datetime.hpp.

◆ time_type_initializer

#define time_type_initializer   ((time_type) 0)

Definition at line 21 of file datetime.hpp.

◆ time_type_set

#define time_type_set (   mtim,
  timestamp 
)     mtim = timestamp;

Definition at line 19 of file datetime.hpp.

Typedef Documentation

◆ time_type

typedef time_t time_type

Definition at line 15 of file datetime.hpp.

Function Documentation

◆ strttime()

int strttime ( char *  timestr,
char *  timeformat,
rodsLong_t t 
)

Definition at line 10 of file datetime.cpp.

References defaultformat.

Referenced by smsi_datetime().

◆ ttimestr()

int ttimestr ( char *  buf,
int  n,
char *  timeformat,
rodsLong_t t 
)

Definition at line 37 of file datetime.cpp.

References defaultformat.

Referenced by convertResToString(), and smsi_timestr().