gおよびge mm ddのカスタム日付形式パターンをレンダリングする
Contents
[
Hide
]
Aspose.Cellsは、gやge.mm.ddなどのカスタム日付形式パターンをレンダリングできるようになりました。参照用に添付されたsource excel fileとconverted PDFをご確認ください。
gおよびge.mm.ddのカスタム日付形式パターンをレンダリングする
以下のサンプルコードは、gやge.mm.ddなどのカスタム形式パターンを含むsource excel fileをoutput 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"); |