julian::BuildTimeGrid Class Reference
Class implements a builder of TimeGrid object. More...
#include <timeGridBuilder.hpp>
Public Member Functions | |
BuildTimeGrid & | setStartDate (const Date &) |
provides start date More... | |
BuildTimeGrid & | setEndDate (const Date &) |
provides end date More... | |
BuildTimeGrid & | setYearFraction (const SmartPointer< YearFraction > yf_) |
provides year fraction More... | |
BuildTimeGrid & | setDiscretization (const SmartPointer< TimeDiscretization > &d_) |
provides discretization algorithm More... | |
operator TimeGrid () | |
builds TimeGrid More... | |
Private Attributes | |
Date | start_date_ |
Date determining beginning of the interval. More... | |
Date | end_date_ |
Date determining ending of the interval. More... | |
SmartPointer< YearFraction > | yf_ |
Year Fraction converting time interval into real number interval. More... | |
SmartPointer< TimeDiscretization > | discretizer_ |
Interface of discretization algorithm. More... | |
Detailed Description
Class implements a builder of TimeGrid object.
Class implements the builder pattern that encapsulates the process of construction of time grid. Time grid is build basing on dates provided using the algorithm implemented in TimeDiscretization.
Member Function Documentation
julian::BuildTimeGrid::operator TimeGrid | ( | ) |
BuildTimeGrid & julian::BuildTimeGrid::setDiscretization | ( | const SmartPointer< TimeDiscretization > & | discretizer | ) |
provides discretization algorithm
BuildTimeGrid & julian::BuildTimeGrid::setEndDate | ( | const Date & | date | ) |
provides end date
BuildTimeGrid & julian::BuildTimeGrid::setStartDate | ( | const Date & | date | ) |
provides start date
BuildTimeGrid & julian::BuildTimeGrid::setYearFraction | ( | const SmartPointer< YearFraction > | yf | ) |
provides year fraction
Member Data Documentation
|
private |
Interface of discretization algorithm.
|
private |
Year Fraction converting time interval into real number interval.
The documentation for this class was generated from the following files:
- C:/Unix/home/OEM/jULIAN/src/dates/timeGrids/timeGridBuilder.hpp
- C:/Unix/home/OEM/jULIAN/src/dates/timeGrids/timeGridBuilder.cpp