Seconds property

int get Seconds
Gets or sets the seconds.

Implementation

int get Seconds => this.seconds;
set Seconds (int value)

Implementation

set Seconds(int value) {
  if (value >= 0 && value < 60) {
    this.seconds = value;
  } else {
    throw new ArgumentException("Strings.SecondMustBeBetween0And59");
  }
}