On Dec 19, 2008, at 11:28 AM, Brian S O'Neill wrote:

> In the javadocs:
> http://joda-time.sourceforge.net/api-release/org/joda/time/ReadableInstant.html#getMillis()

I should have specified that the kind of Instant I'm working with is a  
LocalDate. It doesn't have getMillis. Is the best way to get the  
milliseconds to convert that to a DateTime and then call getMillis  
like this?

long millis = birthday.toDateTimeAtCurrentTime().getMillis();

> Mark Volkmann wrote:
>> I know that internally Instant values are stored as milliseconds  
>> since
>> 1970-01-01T00:00Z, but how can I retrieve that millisecond value?


---
Mark Volkmann





------------------------------------------------------------------------------
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to