I am new to Java and currently using Eclipse editor and I am trying to create a package. I am have created a project-Package directory called workspace

package com.samuelmolina.dat48.chap08;



/**
*
*/


public class Time1 {

/** --------------------------------------------------------------
* INITIALIZATION
* ------------------------------------------------------------#]
*/
private int hour; // 0 - 23
private int minute; // 0 - 59
private int second; // 0 - 59

/** --------------------------------------------------------------
* DISPLAY / Main method begins execution of java application
* ------------------------------------------------------------#]
*/

public Time1() {
// TODO Auto-generated constructor stub
}

/** --------------------------------------------------------------
* TEMPLATE LOGIC & BUSINESS RULES
* -----------------------------------------------------------#]
*/
/**
* set a new time value using universal time; perform
* validity checks on data; set invalid values to zero
*
* @param h
* @param m
* @param s
*/
public void setTime (int h, int m, int s) {
setHour (h); // 0 - 23
setMinute(m); // 0 - 59
setSecond(s); // 0 - 59
}

/**
* @return the hour
*/
public int getHour() {
return hour;
}

/**
* @param h
* @param hour the hour to set
*/
public void setHour(int h) {
hour = ((h >= 0 && h < 24) ? h : 0); // 0 - 23;
}

/**
* @return the minute
*/
public int getMinute() {
return minute;
}

/**
* @param m
* @param minute the minute to set
*/
public void setMinute(int m) {
minute = ((m >= 0 && m < 60) ? m : 0); // 0 - 59;
}

/**
* @return the second
*/
public int getSecond() {
return second;
}

/**
* @param s
* @param second the second to set
*/
public void setSecond(int s) {
second = ((s >= 0 && s < 60) ? s : 0); // 0 - 59;
}

/**
* Convert to String in standard-time format
* (H:MM:SS AM or PM) and returns it to calling
* section of code.
*
* @return
*/
public String toUniversalString() {
return String.format("%02d:%02d:%02d", getHour(),
getMinute(), getSecond());
}

/**
* Convert to String in standard-time format
* (H:MM:SS AM or PM) and returns it to calling
* section of code.
*/
public String toString() {
return String.format("%d:%02d:%02d %s",
((getHour() == 0 || getHour() == 12)? 12 : getHour() % 12 ),
getMinute(), getSecond(),
((getHour() < 12)? "AM" : "PM"));
}

}

and then created another project in the same directory

import com.samuelmolina.dat48.chap08.Time1;

/**
*
*/


public class TimeConsole {

/** --------------------------------------------------------------
* INITIALIZATION
* ------------------------------------------------------------#]
*/


/** --------------------------------------------------------------
* TEMPLATE LOGIC & BUSINESS RULES
* -----------------------------------------------------------#]
*/


/** --------------------------------------------------------------
* DISPLAY / Main method begins execution of java application
* ------------------------------------------------------------#]
*/

public static void main(String[] args) {
// TODO Auto-generated method stub
Time1 time = new Time1();

System.out.println();
System.out.println();

System.out.print("\tThe intital universal time is: ");
System.out.println(time.toUniversalString());
System.out.print("\tThe inital standard time is: ");
System.out.println(time.toString());
System.out.println();

time.setTime(13, 27, 6);
System.out.print("\tThe intital universal time is: ");
System.out.println(time.toUniversalString());
System.out.print("\tThe inital standard time is: ");
System.out.println(time.toString());
System.out.println();

time.setTime(99, 99, 99);
System.out.print("\tAfter attempting invalis settings: ");
System.out.println(time.toUniversalString());
System.out.print("\tStandard time: ");
System.out.println(time.toString());
System.out.println();

}

}

I get the following error : The import com.samuelmolina cannot be resolved

How do I make import statement to refer to com.samuelmolina.dat48.chap08 package.

please help