Example usage for org.joda.time TimeOfDay TimeOfDay

List of usage examples for org.joda.time TimeOfDay TimeOfDay

Introduction

In this page you can find the example usage for org.joda.time TimeOfDay TimeOfDay.

Prototype

public TimeOfDay(Object instant) 

Source Link

Document

Constructs a TimeOfDay from an Object that represents a time.

Usage

From source file:com.moss.jodapersist.AnsiTimeOfDay.java

License:Open Source License

public Object nullSafeGet(ResultSet resultSet, String[] names, Object arg2)
        throws HibernateException, SQLException {
    String time = resultSet.getString(names[0]);
    if (time == null)
        return null;

    return new TimeOfDay(time);
}

From source file:org.jadira.usertype.dateandtime.joda.columnmapper.IntegerColumnTimeOfDayMapper.java

License:Apache License

@Override
public TimeOfDay fromNonNullString(String s) {
    return new TimeOfDay(s);
}

From source file:org.jadira.usertype.dateandtime.joda.columnmapper.StringColumnTimeOfDayMapper.java

License:Apache License

@Override
public TimeOfDay fromNonNullValue(String s) {
    return new TimeOfDay(s);
}