カスタム日付形式パターン 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");