|
Aspose.Tasks for C++
|
Represents a time phased data. More...
#include <TimephasedData.h>
Inherits Object.
Public Member Functions | |
| double | get_ValueToUnits () |
| Gets double instance which represents string value of this object for unit-based time phased data. More... | |
| int32_t | get_Uid () const |
| Gets the unique identifier of a time phased data More... | |
| void | set_Uid (int32_t value) |
| Sets the unique identifier of a time phased data More... | |
| System::DateTime | get_Start () const |
| Gets the start date of a time phased data period. More... | |
| void | set_Start (System::DateTime value) |
| Sets the start date of a time phased data period. More... | |
| System::DateTime | get_Finish () const |
| Gets the finish date of a time phased data period. More... | |
| void | set_Finish (System::DateTime value) |
| Sets the finish date of a time phased data period. More... | |
| TimeUnitType | get_Unit () const |
| Gets the time unit of a time phased data period. More... | |
| void | set_Unit (TimeUnitType value) |
| Sets the time unit of a time phased data period. More... | |
| Aspose::Tasks::TimephasedDataType | get_TimephasedDataType () const |
| Gets the type of a time phased data. More... | |
| void | set_TimephasedDataType (Aspose::Tasks::TimephasedDataType value) |
| Sets the type of a time phased data. More... | |
| System::String | get_Value () |
| Gets the value per unit of time for a time phased data period. More... | |
| void | set_Value (const System::String &value) |
| Sets the value per unit of time for a time phased data period. More... | |
| System::TimeSpan | get_ValueToDuration () const |
| Gets TimeSpan instance which represents string value of this object. More... | |
| double | get_ValueToCost () |
| Gets double instance which represents string value of this object. More... | |
| void | set_ValueToCost (double value) |
| Gets double instance which represents string value of this object. More... | |
| TimephasedData () | |
| Initializes a new instance of the Aspose::Tasks::TimephasedData class. More... | |
Static Public Member Functions | |
| static System::SharedPtr< TimephasedData > | CreateWorkTimephased (int32_t uid, System::DateTime start, System::DateTime finish, System::TimeSpan value, TimeUnitType timeUnit, Aspose::Tasks::TimephasedDataType type) |
| Creates and initializes a new instance of the Aspose::Tasks::TimephasedData class for work-based time phased data. More... | |
| static System::SharedPtr< TimephasedData > | CreateCostTimephased (int32_t uid, System::DateTime start, System::DateTime finish, double value, TimeUnitType timeUnit, Aspose::Tasks::TimephasedDataType type) |
| Creates and initializes a new instance of the Aspose::Tasks::TimephasedData class for cost-based time phased data. More... | |
| static System::SharedPtr< TimephasedData > | CreateCostTimephased (int32_t uid, System::DateTime start, System::DateTime finish, double value, Aspose::Tasks::TimephasedDataType type) |
| Creates and initializes a new instance of the Aspose::Tasks::TimephasedData class for cost-based time phased data. More... | |
| static System::SharedPtr< TimephasedData > | CreateUnitTimephased (int32_t uid, System::DateTime start, System::DateTime finish, double units, Aspose::Tasks::TimephasedDataType type) |
| Creates and initializes a new instance of the Aspose::Tasks::TimephasedData class for unit-based time phased data of an assignment of a material resource. More... | |
Represents a time phased data.
| Aspose::Tasks::TimephasedData::TimephasedData | ( | ) |
Initializes a new instance of the Aspose::Tasks::TimephasedData class.
|
static |
Creates and initializes a new instance of the Aspose::Tasks::TimephasedData class for cost-based time phased data.
| uid | UID of the task. |
| start | start date-time. |
| finish | Finish date-time. |
| value | Cost value. |
| type | Time-phased data type. |
| ArgumentException | If negative cost value was specified. |
|
static |
Creates and initializes a new instance of the Aspose::Tasks::TimephasedData class for cost-based time phased data.
| uid | UID of the task. |
| start | start date-time. |
| finish | Finish date-time. |
| value | Cost value. |
| timeUnit | Time unit type. |
| type | Time-phased data type. |
| ArgumentException | If negative cost value was specified. |
|
static |
Creates and initializes a new instance of the Aspose::Tasks::TimephasedData class for unit-based time phased data of an assignment of a material resource.
| uid | UID of the task. |
| start | Start date-time. |
| finish | Finish date-time. |
| units | Number of units. |
| type | Time-phased data type. |
| ArgumentException | If negative amount of units was specified. |
|
static |
Creates and initializes a new instance of the Aspose::Tasks::TimephasedData class for work-based time phased data.
| uid | UID of the task. |
| start | start date-time. |
| finish | Finish date-time. |
| value | Timespan value. |
| timeUnit | Time unit type. |
| type | Time-phased data type. |
| ArgumentException | If negative work value was specified. |
| System::DateTime Aspose::Tasks::TimephasedData::get_Finish | ( | ) | const |
Gets the finish date of a time phased data period.
| System::DateTime Aspose::Tasks::TimephasedData::get_Start | ( | ) | const |
Gets the start date of a time phased data period.
| Aspose::Tasks::TimephasedDataType Aspose::Tasks::TimephasedData::get_TimephasedDataType | ( | ) | const |
Gets the type of a time phased data.
Value property will be cleared, if it is not suitable for type, specified here.
| int32_t Aspose::Tasks::TimephasedData::get_Uid | ( | ) | const |
Gets the unique identifier of a time phased data
| TimeUnitType Aspose::Tasks::TimephasedData::get_Unit | ( | ) | const |
Gets the time unit of a time phased data period.
| System::String Aspose::Tasks::TimephasedData::get_Value | ( | ) |
Gets the value per unit of time for a time phased data period.
| TasksException | When value is incorrect for specified TimephasedDataType or have negative value. |
| double Aspose::Tasks::TimephasedData::get_ValueToCost | ( | ) |
Gets double instance which represents string value of this object.
| System::TimeSpan Aspose::Tasks::TimephasedData::get_ValueToDuration | ( | ) | const |
Gets TimeSpan instance which represents string value of this object.
| double Aspose::Tasks::TimephasedData::get_ValueToUnits | ( | ) |
Gets double instance which represents string value of this object for unit-based time phased data.
| void Aspose::Tasks::TimephasedData::set_Finish | ( | System::DateTime | value | ) |
Sets the finish date of a time phased data period.
| void Aspose::Tasks::TimephasedData::set_Start | ( | System::DateTime | value | ) |
Sets the start date of a time phased data period.
| void Aspose::Tasks::TimephasedData::set_TimephasedDataType | ( | Aspose::Tasks::TimephasedDataType | value | ) |
Sets the type of a time phased data.
Value property will be cleared, if it is not suitable for type, specified here.
| void Aspose::Tasks::TimephasedData::set_Uid | ( | int32_t | value | ) |
Sets the unique identifier of a time phased data
| void Aspose::Tasks::TimephasedData::set_Unit | ( | TimeUnitType | value | ) |
Sets the time unit of a time phased data period.
| void Aspose::Tasks::TimephasedData::set_Value | ( | const System::String & | value | ) |
Sets the value per unit of time for a time phased data period.
| TasksException | When value is incorrect for specified TimephasedDataType or have negative value. |
| void Aspose::Tasks::TimephasedData::set_ValueToCost | ( | double | value | ) |
Gets double instance which represents string value of this object.
| value | a floating point representation of the object. |