DateTime Module Structure

The description of this module presented in this Page. In the following some details about the parameters and methods of this module has been presented.

Parameters

  • All local parameters of this module are data parameters and filled with arguments and no need to be reset at the beginning of each analysis, so they are not defined in the wipeAnalysis.

  • The SampledisDay parameter is a global parameter that stores the sampled time of day as a boolean that True means it is day. It is located in wipeAnalysis and by beginning of each analysis it will be reset and initialize.

Methods

  • SampleisDay is a method that using defined data, determines if it is day or not and stores result in SampledisDay parameter. It creates a random value between zero and one and then regarding the defined day to night ratio, determines if it is day or not.