PreviousQuarter() 공개 정적인 메소드

public static PreviousQuarter ( this startQuarter ) : YearAndQuarter
startQuarter this
리턴 YearAndQuarter
예제 #1
0
 public void PreviousQuarterTest()
 {
     TimeTool.PreviousQuarter(QuarterKind.First).Quarter.Should().Be(QuarterKind.Fourth);
     TimeTool.PreviousQuarter(QuarterKind.Second).Quarter.Should().Be(QuarterKind.First);
     TimeTool.PreviousQuarter(QuarterKind.Third).Quarter.Should().Be(QuarterKind.Second);
     TimeTool.PreviousQuarter(QuarterKind.Fourth).Quarter.Should().Be(QuarterKind.Third);
 }