コード例 #1
0
 protected override TimeUnit __DoSubstraction(TimeUnit right)
 {
     return new Second(ConvertToBase().Value - right.ConvertToBase().Value);
 }
コード例 #2
0
 protected override TimeUnit __DoAddition(TimeUnit right)
 {
     return new Second(ConvertToBase().Value + right.ConvertToBase().Value);
 }