I am new to java and am wondering how to use GDate as specified at the JavaDocs.

  • Can anyone give a simple example how to calculate the time period between two date using GDate?
有帮助吗?

解决方案

..do I need to import anythig at the start of the program?

Yes, org.apache.xmlbeans.GDate

How to declare an object?

GDate gDate = new GDate(/* See JavaDocs for constructors */);

See JavaDocs for constructors.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top