NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::DateBuilder Class Reference

The DateBuilder class allows a date and/or time to be input or output via the DateItem builder. More...

Inheritance diagram for NXOpen::DateBuilder:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

NXOpen::DateItemBuilderCreateDateItemBuilder ()
 Create a NXOpen::DateItemBuilder object that can be stored in the DateItemList. More...
 
NXOpen::DateItemBuilderDateItem ()
 Returns a NXOpen::DateItemBuilder object used for simple date and time storage. More...
 
NXOpen::DateItemBuilderListDateItemList ()
 Returns a list of NXOpen::DateItemBuilder objects used to store a list of dates and times. More...
 
NXOpen::DateItemBuilderFromDateItem ()
 Returns a NXOpen::DateItemBuilder object used for simple date and time storage. More...
 
NXOpen::DateItemBuilderToDateItem ()
 Returns a NXOpen::DateItemBuilder object used for simple date and time storage. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

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 NXOpen::DateItemBuilder object that is contained in the DateItemBuilderList.


Created in NX8.0.0.

Member Function Documentation

NXOpen::DateItemBuilder* NXOpen::DateBuilder::CreateDateItemBuilder ( )

Create a NXOpen::DateItemBuilder object that can be stored in the DateItemList.

Returns
New DateItemBuilder object
Created in NX8.0.0.

License requirements : None
NXOpen::DateItemBuilder* NXOpen::DateBuilder::DateItem ( )

Returns a NXOpen::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 NXOpen::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 NXOpen::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 NXOpen::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 bool NXOpen::DateBuilder::Validate ( )
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.

Returns
Was self validation successful
Created in NX3.0.1.

License requirements : None

Implements NXOpen::GeometricUtilities::IComponentBuilder.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.