LibreOffice Module lotuswordpro (master) 1
Functions | Variables
localtime.cxx File Reference
#include <localtime.hxx>
#include <limits.h>
#include <unicode/timezone.h>
#include <memory>
Include dependency graph for localtime.cxx:

Go to the source code of this file.

Functions

bool LtgGmTime (tools::Long rtime, LtTm &rtm)
 
bool LtgLocalTime (tools::Long rtime, LtTm &rtm)
 

Variables

const tools::Long DAY_SEC = 24 * 60 * 60
 
const tools::Long YEAR_SEC = 365 * DAY_SEC
 
const tools::Long FOURYEAR_SEC = 4 * YEAR_SEC + DAY_SEC
 
const long LONG_MAX = 2147483647
 
const tools::Long BASE_DOW = 4
 

Function Documentation

◆ LtgGmTime()

bool LtgGmTime ( tools::Long  rtime,
LtTm rtm 
)

◆ LtgLocalTime()

bool LtgLocalTime ( tools::Long  rtime,
LtTm rtm 
)

Definition at line 169 of file localtime.cxx.

References DAY_SEC, LONG_MAX, and LtgGmTime().

Referenced by LwpDocData::Read(), and LwpFribNote::XFConvert().

Variable Documentation

◆ BASE_DOW

const tools::Long BASE_DOW = 4

Definition at line 68 of file localtime.cxx.

Referenced by LtgGmTime().

◆ DAY_SEC

const tools::Long DAY_SEC = 24 * 60 * 60

Definition at line 61 of file localtime.cxx.

Referenced by LtgGmTime(), and LtgLocalTime().

◆ FOURYEAR_SEC

const tools::Long FOURYEAR_SEC = 4 * YEAR_SEC + DAY_SEC

Definition at line 63 of file localtime.cxx.

Referenced by LtgGmTime().

◆ LONG_MAX

const long LONG_MAX = 2147483647

Definition at line 65 of file localtime.cxx.

Referenced by LtgLocalTime().

◆ YEAR_SEC

const tools::Long YEAR_SEC = 365 * DAY_SEC

Definition at line 62 of file localtime.cxx.

Referenced by LtgGmTime().