github.com/go-chrono/chrono@v0.0.0-20240102183611-532f0d0d7c34/export_test.go (about)

     1  package chrono
     2  
     3  func SetupCenturyParsing(v int) {
     4  	overrideCentury = new(int)
     5  	*overrideCentury = v
     6  }
     7  
     8  func TearDownCenturyParsing() {
     9  	overrideCentury = nil
    10  }
    11  
    12  var DivideAndRoundIntFunc = divideAndRoundInt