Java tutorial
import java.util.Locale; public class Main { public static void main(String[] args) { Locale locale1 = new Locale("ENGLISH", "US"); // print this locale System.out.println("Locale1:" + locale1); // create a second locale Locale locale2; // clone locale1 to locale2 locale2 = (Locale) locale1.clone(); System.out.println("Locale2:" + locale2); } }