呈现自定义日期格式模式 g 和 ge mm dd

呈现自定义日期格式模式 g 和 ge.mm.dd

下面的示例代码将源文件其中包含具有自定义格式模式的日期值,例如 g 和 ge.mm.dd输出 PDF.

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java
// The path to the directories.
String sourceDir = Utils.Get_SourceDirectory();
String outDir = Utils.Get_OutputDirectory();
Workbook workbook = new Workbook(sourceDir + "sampleRenderCustomDateFormat.xlsx");
workbook.save(outDir + "sampleRenderCustomDateFormat_out.pdf");