⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nineteenfourrecord.cs

📁 Excel的操作,其中可以读取及写入Excel 文件
💻 CS
字号:
using System;

using Microsoft.Fawvw.Components.NExcel.Biff;

namespace Microsoft.Fawvw.Components.NExcel.Read.Biff
{
	
	/// <summary> Identifies the date system as the 1904 system or not</summary>
	class NineteenFourRecord:RecordData
	{
		/// <summary> The base year for dates</summary>
		private bool nineteenFour;
		
		/// <summary> Constructs this object from the raw data
		/// 
		/// </summary>
		/// <param name="t">the raw data
		/// </param>
		public NineteenFourRecord(Record t):base(t)
		{
			
			sbyte[] data = getRecord().Data;
			
			nineteenFour = data[0] == 1?true:false;
		}
		
		/// <summary> Accessor to see whether this spreadsheets dates are based around
		/// 1904
		/// 
		/// </summary>
		/// <returns> true if this workbooks dates are based around the 1904
		/// date system
		/// </returns>
		public virtual bool is1904()
		{
			return nineteenFour;
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -