Mobile API Reference  MicroStrategy 2019
DateTimeHelper.h File Reference
#include "DSSDateTime.h"

Go to the source code of this file.

Enumerations

enum  Basis {
  eBasis30360 = 0, eBasisActualActual, eBasisActual360, eBasisActual365,
  eBasisEurop30360, eBasis30360US, eBasis30360 = 0, eBasisActualActual,
  eBasisActual360, eBasisActual365, eBasisEurop30360, eBasis30360US
}
 

Functions

bool isLegalDate (const MDataType::DSSDateTime &iTime)
 
MDataType::DSSDateTime shiftByMonth (MDataType::DSSDateTime iTime, int month)
 
unsigned int difference (const MDataType::DSSDateTime &iThis, const MDataType::DSSDateTime &date, Basis basis)
 
unsigned int dateToNumber (const MDataType::DSSDateTime &iThis, Basis basis, int day1)
 
int daysPerYear (Basis basis)
 

Enumeration Type Documentation

◆ Basis

enum Basis
Enumerator
eBasis30360 
eBasisActualActual 
eBasisActual360 
eBasisActual365 
eBasisEurop30360 
eBasis30360US 
eBasis30360 
eBasisActualActual 
eBasisActual360 
eBasisActual365 
eBasisEurop30360 
eBasis30360US 

Function Documentation

◆ dateToNumber()

unsigned int dateToNumber ( const MDataType::DSSDateTime iThis,
Basis  basis,
int  day1 
)

◆ daysPerYear()

int daysPerYear ( Basis  basis)

◆ difference()

unsigned int difference ( const MDataType::DSSDateTime iThis,
const MDataType::DSSDateTime date,
Basis  basis 
)

◆ isLegalDate()

bool isLegalDate ( const MDataType::DSSDateTime iTime)

◆ shiftByMonth()

MDataType::DSSDateTime shiftByMonth ( MDataType::DSSDateTime  iTime,
int  month 
)