Whenever Solitary Confinement may be awarded for any Offence under this Act, the Court may direct the Offender to be kept in Solitary Confinement for any Portion or Portions of any Imprisonment, or of any Imprisonment with Hard Labour, which the Court may award, not exceeding One Month at any One Time, and not exceeding Three Months in any One Year; and whenever Whipping may be awarded for any Offence under this Act, the Court may sentence the Offender to be once privately whipped, and the Number of Strokes and the Instrument with which they shall be inflicted shall be specified by the Court in the Sentence.