set Calendar To First Day In Week - Android java.util

Android examples for java.util:Week

Description

set Calendar To First Day In Week

Demo Code


//package com.java2s;

import java.util.Calendar;

public class Main {
    public static void setToFirstDayInWeek(Calendar calendar) {
        calendar.set(Calendar.DAY_OF_WEEK, 1);
        calendar.getTimeInMillis();/*from  w w w. j a  v  a2s. c om*/
    }
}

Related Tutorials