konsolekalendar

KCal::KonsoleKalendarEpoch Class Reference

#include <konsolekalendarepoch.h>

Public Member Functions

 KonsoleKalendarEpoch ()
 
 ~KonsoleKalendarEpoch ()
 

Static Public Member Functions

static TQDateTime epoch2TQDateTime (uint epoch)
 
static uint TQDateTime2epoch (TQDateTime dt)
 

Detailed Description

Class for timestamps expressed as epochs.

Author
Allen Winter

Definition at line 44 of file konsolekalendarepoch.h.

Constructor & Destructor Documentation

◆ KonsoleKalendarEpoch()

KonsoleKalendarEpoch::KonsoleKalendarEpoch ( )

Constructor.

Definition at line 42 of file konsolekalendarepoch.cpp.

◆ ~KonsoleKalendarEpoch()

KonsoleKalendarEpoch::~KonsoleKalendarEpoch ( )

Destructor.

Definition at line 46 of file konsolekalendarepoch.cpp.

Member Function Documentation

◆ epoch2TQDateTime()

TQDateTime KonsoleKalendarEpoch::epoch2TQDateTime ( uint  epoch)
static

Converts epoch time to TQDateTime format.

Parameters
epochepoch time.

Definition at line 53 of file konsolekalendarepoch.cpp.

◆ TQDateTime2epoch()

uint KonsoleKalendarEpoch::TQDateTime2epoch ( TQDateTime  dt)
static

Converts QT DateTime to epoch format.

Parameters
dtis a TQDateTime to convert to an epoch.

Definition at line 61 of file konsolekalendarepoch.cpp.


The documentation for this class was generated from the following files: