This looks like an oversight - there should be a dedicated constructor.

For now you can do

new LocalDateTime().withFields(date).withFields(time);

Stephen


On 16/04/07, bart zagers <[EMAIL PROTECTED]> wrote:
> Currently we use LocalDate and LocalTime to represent a day and a time
> during the day.
> Now we would like to combine them to a LocalDateTime. How should I do that
> efficiently? I do not see something like
> localDate.toLocalDateTime (localTime);
>
> Bart.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Joda-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/joda-interest
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to