[RESOLVED] Constructor Style
The Missouri Legislature is organized into general assemblies and sessions within a general assembly.
I am creating a general assembly object. The constructor(s) should be able to accept a number for the general assembly, or a year.
Currently I have one constructor. If the number is less than 1821 it is interpreted as a general assembly number. If it is greater than or equal to 1821 it is interpreted as a year.
The constructor looks like this
Code:
''' <summary>
''' general assembly
''' </summary>
''' <param name="NumberGAorYear"> if .lt. 1821 number is GA, else year</param>
''' <remarks>the 1820 GA occurs in year 5459</remarks>
Public Sub New(NumberGAorYear As Integer)
Seeking opinions please.