timeUnit.hpp File Reference

File contain time units and other useful enumerations. More...

#include <string>
#include <iostream>

Go to the source code of this file.

Enumerations

enum  julian::TimeUnit {
  DAY, WEEK, MONTH, QUARTER,
  YEAR, OVERNIGHT, TOMORROWNEXT, SPOTDATE,
  TODAY, SPOTNEXT
}
 
enum  julian::Weekday {
  MON = 2, TUE = 3, WED = 4, THU = 5,
  FRI = 6, SAT = 0, SUN = 1
}
 
enum  julian::Frequency {
  NOFREQ = 0, MONTHLY = 1, QUARTERLY = 3, SEMIANNUALLY = 6,
  ANNUALLY = 12
}
 
enum  julian::NameOfMonth {
  JAN = 1, FEB = 2, MAR = 3, APR = 4,
  MAY = 5, JUN = 6, JUL = 7, AUG = 8,
  SEP = 9, OCT = 10, NOV = 11, DEC = 12
}
 
enum  julian::DayRollingConvention {
  julian::FOLLOWING, julian::PRECEDING, julian::MODIFIEDFOLLOWING, julian::MODIFIEDPRECEDING,
  julian::UNADJUSTED, julian::NEAREST
}
 

Functions

template<class Archive >
void julian::serialize (Archive &ar, TimeUnit &g, const unsigned int version)
 interface used by Boost serialization library More...
 
std::ostream & julian::operator<< (std::ostream &os, Frequency &f)
 Overloading << operator for Frequency enumeration. More...
 
template<class Archive >
void julian::serialize (Archive &ar, DayRollingConvention &g, const unsigned int version)
 interface used by Boost serialization library More...
 

Detailed Description

File contain time units and other useful enumerations.