Mobile API Reference  MicroStrategy 2019
DateTimeHelper.h
Go to the documentation of this file.
1 //
2 // DateTimeHelper.h
3 // ReportServiceCore
4 //
5 // Created by He Tengfei on 2/23/12.
6 // Copyright 2012 MicroStrategy, Inc. All rights reserved.
7 //
8 #ifndef DATETIMEHELPER_H
9 #define DATETIMEHELPER_H 1
10 
11 #include "DSSDateTime.h"
12 
15 
16 bool isLegalDate(const MDataType::DSSDateTime& iTime);
18 unsigned int difference(const MDataType::DSSDateTime& iThis, const MDataType::DSSDateTime& date, Basis basis);
19 unsigned int dateToNumber(const MDataType::DSSDateTime& iThis, Basis basis, int day1);
20 int daysPerYear(Basis basis);
21 
22 #endif
Definition: DateTimeHelper.h:13
unsigned int difference(const MDataType::DSSDateTime &iThis, const MDataType::DSSDateTime &date, Basis basis)
Definition: DateTimeHelper.h:13
Definition: DateTimeHelper.h:14
Definition: DSSDateTime.h:81
bool isLegalDate(const MDataType::DSSDateTime &iTime)
MDataType::DSSDateTime shiftByMonth(MDataType::DSSDateTime iTime, int month)
Basis
Definition: DateTimeHelper.h:13
Definition: DateTimeHelper.h:13
unsigned int dateToNumber(const MDataType::DSSDateTime &iThis, Basis basis, int day1)
Definition: DateTimeHelper.h:14
int daysPerYear(Basis basis)
Definition: DateTimeHelper.h:13