rvm  1.11
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
tstamp.h File Reference
#include <sys/types.h>
#include <time.h>
#include "asserts.h"
#include "types.h"
Include dependency graph for tstamp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  timestamp
 Timestamp object. More...
 

Functions

bool is_timestamp (const std::string &a_s)
 Return true if the string is a valid timestamp. More...
 
const timestamp null_timestamp (0, 1, 1, 0, 0, 0)
 A null timestamp. More...
 
const timestamp min_timestamp (null_timestamp)
 The minimum timestamp value. More...
 
const timestamp max_timestamp (9999, 12, 31, 23, 59, 59)
 The maximum timestamp value. More...
 

Function Documentation

bool is_timestamp ( const std::string &  a_s)

Return true if the string is a valid timestamp.

Definition at line 502 of file tstamp.cc.

References TRY_nomem.

Referenced by timestamp::assign(), catalog_manager::catalog(), vault_manager::get_archive_list(), and job_archiver::mf_do_chores().

const timestamp max_timestamp ( 9999  ,
12  ,
31  ,
23  ,
59  ,
59   
)

The maximum timestamp value.

const timestamp min_timestamp ( null_timestamp  )

The minimum timestamp value.

const timestamp null_timestamp ( ,
,
,
,
,
 
)

A null timestamp.