cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert "com.frictionless.common.types.SysDate" to "java.util.Date"?

Former Member
0 Kudos

Hi,

How to convert "com.frictionless.common.types.SysDate" to java.util.Date.

I am getting the below error when I try to set email date to publish date.

Sourced file: inline evaluation of: ``import com.sap.odp.api.util.; import java.util.; import javax.mail.*; import j . . . '' : Error in method invocation: Method setSentDate( com.frictionless.common.types.SysDate ) not found in class'javax.mail.internet.MimeMessage'

Thanks,

Saloni

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Saloni,

Use the getDate() method on the SysDate type variable to get its Java date.

Thanks

Devesh

Answers (0)