Rubyで標準カレンダーを作成します

Aspose.Tasks -標準カレンダーを作成

ruby for ruby​​のjavaを使用して標準カレンダーを作成するには、createStandardCalendarモジュールを呼び出します。ここでは、サンプルコードを見ることができます。

1project = rjb :: import( 'com.Aspose.Tasks.project')new( 'test_tasks.mpp')
2
3cal1 = project.getCalendars()。追加( "my cal")
4
5rjb :: import( 'com.Aspose.Tasks.calendar')makestandardcalendar(cal1)
6
7project.save( "CreateStandardCalendar.xml"rjb :: import( 'com.Aspose.Tasks.savefileformat')xml)
8
9「作成された標準カレンダー、出力ファイルを確認してください。」

実行中のコードをダウンロード

ダウンロード**下記のソーシャルコーディングサイトのいずれかから標準カレンダー(Aspose.Tasks)を作成します。

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.