Android Open Source - ho.la.urv Entry






From Project

Back to project page ho.la.urv.

License

The source code is released under:

MIT License

If you think the Android project ho.la.urv listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package eu.robertboloc.holaurv.models;
// w w  w  .  j  av a  2s  .com
public class Entry {

    public static final int FIRST_ENTRY = 0;
    public static final int FIRST_EXIT = 1;
    public static final int SECOND_ENTRY = 2;
    public static final int SECOND_EXIT = 3;

    String code;
    String hourRaw;
    String minuteRaw;

    public String getHourRaw() {
        return hourRaw;
    }

    public void setHourRaw(String hourRaw) {
        this.hourRaw = hourRaw;
    }

    public int getHour() {
        return Integer.parseInt(hourRaw);
    }

    public String getMinuteRaw() {
        return minuteRaw;
    }

    public void setMinuteRaw(String minuteRaw) {
        this.minuteRaw = minuteRaw;
    }

    public int getMinute() {
        return Integer.parseInt(minuteRaw);
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDisplayHourAndMinute() {
        if (!hourRaw.isEmpty() && !minuteRaw.isEmpty()) {
            return hourRaw + ":" + minuteRaw;
        }
        return null;
    }
}




Java Source Code List

eu.robertboloc.holaurv.HoLaURV.java
eu.robertboloc.holaurv.activities.AboutActivity.java
eu.robertboloc.holaurv.activities.DisplayActivity.java
eu.robertboloc.holaurv.activities.LoginActivity.java
eu.robertboloc.holaurv.activities.ReportActivity.java
eu.robertboloc.holaurv.adapters.DayCollectionPagerAdapter.java
eu.robertboloc.holaurv.fragments.DayObjectFragment.java
eu.robertboloc.holaurv.helpers.Evalos.java
eu.robertboloc.holaurv.helpers.TypefaceSpan.java
eu.robertboloc.holaurv.models.Day.java
eu.robertboloc.holaurv.models.Entry.java
eu.robertboloc.holaurv.models.Week.java