Java LocalTime getTimeDiff(LocalTime start, LocalTime end)

Here you can find the source of getTimeDiff(LocalTime start, LocalTime end)

Description

This will return the time difference between a starting and ending time

License

Open Source License

Parameter

Parameter Description
start starting LocalTime
end ending LocalTime

Return

LocalTime containing the difference in time

Declaration

@Deprecated
public static LocalTime getTimeDiff(LocalTime start, LocalTime end) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.time.LocalTime;

public class Main {
    /**//from w  w  w.  j  av  a 2  s  . com
     * This will return the time difference between a starting and ending time
     *
     * @param start starting LocalTime
     * @param end   ending LocalTime
     * @return LocalTime containing the difference in time
     */
    @Deprecated
    public static LocalTime getTimeDiff(LocalTime start, LocalTime end) {
        return null;
    }
}

Related

  1. asDate(LocalTime localTime)
  2. convertLocalTimeToString(LocalTime time)
  3. currentTimeIsBetween(LocalTime from, LocalTime to)
  4. deserializeLocalTime(String date)
  5. fastTimeWrite(LocalTime localTime)
  6. isBetween(LocalTime lt, LocalTime startTime, LocalTime endTime)
  7. isLocalTimeInRange(LocalTime value, LocalTime optionalMinimum, LocalTime optionalMaximum, boolean inclusiveOfEndpoints)
  8. parseLocalTime(String string)
  9. repDiff(LocalTime start, LocalTime end, byte type)