Java LocalTime deserializeLocalTime(String date)

Here you can find the source of deserializeLocalTime(String date)

Description

deserialize Local Time

License

Apache License

Declaration

public static LocalTime deserializeLocalTime(String date) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.time.*;
import java.time.format.DateTimeFormatter;

public class Main {
    private static final DateTimeFormatter ISO_LOCAL_TIME_FORMAT = DateTimeFormatter.ISO_LOCAL_TIME;

    public static LocalTime deserializeLocalTime(String date) {
        return LocalTime.parse(date, ISO_LOCAL_TIME_FORMAT);
    }/* w  w w  . ja  v  a 2s .com*/
}

Related

  1. asDate(LocalTime localTime)
  2. convertLocalTimeToString(LocalTime time)
  3. currentTimeIsBetween(LocalTime from, LocalTime to)
  4. fastTimeWrite(LocalTime localTime)
  5. getTimeDiff(LocalTime start, LocalTime end)
  6. isBetween(LocalTime lt, LocalTime startTime, LocalTime endTime)
  7. isLocalTimeInRange(LocalTime value, LocalTime optionalMinimum, LocalTime optionalMaximum, boolean inclusiveOfEndpoints)