2017-04-10 63 views

回答

2

solution is to use

 <dependency> 
      <groupId>org.scala-saddle</groupId> 
      <artifactId>google-rfc-2445</artifactId> 
      <version>20110304</version> 
     </dependency> 

幾個例子:

1轉換成Java對象:

rule = new RRule("RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=TU,WE,TH"); 

2轉換回:

rule.toIcal();