Closed jinqinghua closed 1 year ago
public class WebcastMedia implements Serializable {
// ...
private Instant appCreateTime;
private Instant createTime;
private Instant lastModifiedTime;
//...
}
media1's instant field is right, but media2's instant field is wrong.
Hi,
Could you please describe, what specifically wrong in the created POJO? When you call manufacturePojo(Instant.class) Instant.now() is used. When you call manufacturePojoWithFullData(Instant.class) Instant.ofEpochSecond(epochSecond,nanoAdjustment) is used. Both of them succeed.
Thanks, Daniil
media1: WebcastMedia(appCreateTime=2023-02-14T00:38:57.756884Z, createTime=2023-02-14T00:38:57.754318Z, lastModifiedTime=2023-02-14T00:38:57.755576Z)
media2: WebcastMedia(appCreateTime=+3379484-06-13T05:05:54.061497703Z, createTime=+3379484-04-20T18:38:12.057097929Z, lastModifiedTime=+3379484-05-19T06:17:49.059412336Z)
@daivanov Sorry for the late response. Could you please check the year part of media2?