Вопрос

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