为了提供Sam答案的含义的示例,如果您只想使用来创建日期值
AppendCellsRequest,则可以这样创建单元格:
CellData cell = new CellData();cell.setUserEnteredValue(new ExtendedValue().setNumberValue(42198.0));cell.setUserEnteredFormat( new CellFormat().setNumberFormat(new NumberFormat().setType("DATE")));这里的42198是1899年12月30日至2015年7月13日之间的天数。



