Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
yang-xiaodong committed Dec 11, 2016
1 parent ec078f0 commit de493da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 1 addition & 4 deletions src/Npoi.Core/ExcelExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,8 @@ public static ConstructorInfo FilterConstructorsByType(this IEnumerable<Construc
private const int DaysPer400Years = DaysPer100Years * 4 + 1;
private const int DaysTo1899 = DaysPer400Years * 4 + DaysPer100Years * 3 - 367;
private const long DoubleDateOffset = DaysTo1899 * TicksPerDay;



private const long OADateMinAsTicks = (DaysPer100Years - DaysPerYear) * TicksPerDay;

private static double TicksToOADate(long value)
{
if (value == 0)
Expand Down
6 changes: 1 addition & 5 deletions test/Npoi.Core.Ooxml.TestCases/TestDetectAsOOXML.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ limitations under the License.

namespace Npoi.Core.OOXML
{
/**
* Class to test that HXF correctly detects OOXML
* documents
*/

//Class to test that HXF correctly detects OOXML documents
[TestFixture]
public class TestDetectAsOOXML
{
Expand Down

0 comments on commit de493da

Please sign in to comment.