Here you can find the source of getDateTimeAttributeTimeFormat()
@Nonnull public static DateTimeFormatter getDateTimeAttributeTimeFormat()
//package com.java2s; /*// www . j a va 2 s . com * Copyright (c) Interactive Information R & D (I2RD) LLC. * All Rights Reserved. * * This software is confidential and proprietary information of * I2RD LLC ("Confidential Information"). You shall not disclose * such Confidential Information and shall use it only in * accordance with the terms of the license agreement you entered * into with I2RD. */ import javax.annotation.Nonnull; import java.time.format.DateTimeFormatter; public class Main { /** * Get a DateTimeFormatter to use for rendering time information within a time tag's datetime attribute * * @return a DateTimeFormatter */ @Nonnull public static DateTimeFormatter getDateTimeAttributeTimeFormat() { return DateTimeFormatter.ofPattern("hh:mm a"); } }