Package lombok

Examples of lombok.val.toLocalDate()


    if (value != null)
    {
      // use the existing validation method
      val result = validate(value.toLocalDateTime(LocalTime.MIDNIGHT));
      if (result != null)
        return result.toLocalDate();
    } else
      // check if null allowed, using the other validate()
      validate((LocalDateTime) null);

    return null;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.