以自定义日期格式模式g和ge.mm.dd呈现
Contents
[
Hide
]
呈现自定义日期格式模式g和ge.mm.dd
以下示例代码将包含g和ge.mm.dd等自定义格式模式的源Excel文件转换为输出PDF文件
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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"); |