Example usage for com.amazonaws.services.dynamodbv2.datamodeling DynamoDBTypeConverter interface-usage

List of usage examples for com.amazonaws.services.dynamodbv2.datamodeling DynamoDBTypeConverter interface-usage

Introduction

In this page you can find the example usage for com.amazonaws.services.dynamodbv2.datamodeling DynamoDBTypeConverter interface-usage.

Usage

From source file com.github.mizool.technology.aws.dynamodb.ZonedDateTimeConverter.java

public class ZonedDateTimeConverter implements DynamoDBTypeConverter<String, ZonedDateTime> {
    @Override
    public String convert(ZonedDateTime object) {
        return DateTimeFormatter.ISO_ZONED_DATE_TIME.format(object);
    }