NX Open C++ Reference Guide
|
The DateBuilder class allows a date and/or time to be input or output via the DateItem builder. More...
Public Member Functions | |
NXOpen::DateItemBuilder * | CreateDateItemBuilder () |
Create a DateItemBuilder object that can be stored in the DateItemList. | |
NXOpen::DateItemBuilder * | DateItem () |
Returns a DateItemBuilder object used for simple date and time storage. | |
NXOpen::DateItemBuilderList * | DateItemList () |
Returns a list of DateItemBuilder objects used to store a list of dates and times. | |
NXOpen::DateItemBuilder * | FromDateItem () |
Returns a DateItemBuilder object used for simple date and time storage. | |
NXOpen::DateItemBuilder * | ToDateItem () |
Returns a DateItemBuilder object used for simple date and time storage. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
The DateBuilder class allows a date and/or time to be input or output via the DateItem builder.
The FromDateItem and ToDateItem builders allow a From and To date to be input and output. The class does not verify that the From date is earlier than the To date. The DateBuilder is also used to create a @link DateItemBuilder DateItemBuilder@endlink object that is contained in the DateItemBuilderList.
Created in NX8.0.0.
NXOpen::DateItemBuilder* NXOpen::DateBuilder::CreateDateItemBuilder | ( | ) |
Create a DateItemBuilder object that can be stored in the DateItemList.
@return New DateItemBuilder object
Created in NX8.0.0.
License requirements : None
NXOpen::DateItemBuilder* NXOpen::DateBuilder::DateItem | ( | ) |
Returns a DateItemBuilder object used for simple date and time storage.
Created in NX8.0.0.
License requirements : None
NXOpen::DateItemBuilderList* NXOpen::DateBuilder::DateItemList | ( | ) |
Returns a list of DateItemBuilder objects used to store a list of dates and times.
Created in NX8.0.0.
License requirements : None
NXOpen::DateItemBuilder* NXOpen::DateBuilder::FromDateItem | ( | ) |
Returns a DateItemBuilder object used for simple date and time storage.
This is the From date in a From-To range.
Created in NX8.0.0.
License requirements : None
NXOpen::DateItemBuilder* NXOpen::DateBuilder::ToDateItem | ( | ) |
Returns a DateItemBuilder object used for simple date and time storage.
This is the To date in a From-To range.
Created in NX8.0.0.
License requirements : None
|
virtual |
Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.
Implements NXOpen::GeometricUtilities::IComponentBuilder.