name of year in chinese

Ads

 
 

Share on Google+Share on Google+

kimtheng
name of year in chinese
1 Answer(s)      5 years and 11 months ago
Posted in : Java Beginners

hello my name kiemtheng i'm come from Cambodia, i would to write java programming to calculate a name of year for each birthday in Chinese but i dont know how to do.

Ads
View Answers

October 1, 2011 at 5:04 PM


import java.util.*;
import java.text.*;

public class FormatDate{
    public static void main(String[] args) {
        Locale locale=Locale.FRANCE;
        Date today = new Date();
        System.out.println("Date format in "+ locale.getDisplayName()+ " = " + SimpleDateFormat.getDateInstance(SimpleDateFormat.LONG, locale).format(today).toUpperCase());
     }
}

Ads









Related Tutorials/Questions & Answers:
name of year in chinese
name of year in chinese   hello my name kiemtheng i'm come from Cambodia, i would to write java programming to calculate a name of year for each birthday in Chinese but i dont know how to do.   import java.util.
name of year in chinese
name of year in chinese   hello my name kiemtheng i'm come from Cambodia, i would to write java programming to calculate a name of year for each birthday in Chinese but i dont know how to do.   import java.util.
Advertisements
Character encoding problem with chinese language
Character encoding problem with chinese language  I have a issue with characters in chinese locale in java. Iam using eclipse IDE My code...(stdDate);" But iam getting month name as '??' Can anyone help me to solve
Version of com.luhuiguo>chinese-utils dependency
List of Version of com.luhuiguo>chinese-utils dependency
Version of com.luhuiguo>chinese-utils dependency
List of Version of com.luhuiguo>chinese-utils dependency
How to sort chinese character in j2me?
How to sort chinese character in j2me?  Hi All, I want to sort chinese character in j2me. Please let me know whether it is achievable or not in j2me... chinese character in j2me.. Thanks in Advance... Thanks & Regards, Ajit
Name
Name  make a program that take a input from user in alphabet and show all the name of that character E.g User give character "B". The program shows all the human names which starts from B.   Java show all names
leap year
leap year  how to create class for leap year. It is leap year... isLeapYear(int year) { if (year < 0) { return false; } if (year % 4 == 0) { return true; } else if (year % 400 == 0) { return
Maven Dependency chinese-utils >> 1.0
You should include the dependency code given in this page to add Maven Dependency of com.luhuiguo >> chinese-utils version1.0 in your project
Mysql Date Get Year
is:- The given below Query return you the current year as field name year(now( )). Query... Mysql Date Get Year       Mysql Date Get Year is the way of retrieving the current year
How to get the unicode of chinese character input in j2me/java
How to get the unicode of chinese character input in j2me/java  Hi All, How to get the Unicode of a chinese character either in j2me or Java? Please provide the sample code snippet for the above ? Thanks in advance... Thanks
wrong year
wrong year..   I think u are using other calendar Check Settings
Determining If a Year is a Leap Year in Java
Determining If a Year is a Leap Year in Java       Leap Year: Leap Year is the year contains an extra day. In the leap year, February month contains 29 days since normally
java leap year
as a keyboard inputs or command line argument, a year between 1800 and 2000 and then reports whether itis a leap year. Aleap year is an integer greater than 1584... static boolean isLeapYear(int year) { if (year < 0) { return false
How to calculate days in a year
How to calculate days in a year  Hi, How to calculate no of days in a year? I want a program that calculates no of days in a year by specifying year... of calculating days in a year? Thanks
Mysql Year of Date
Mysql Year of Date       Mysql Year of Date is used to return the current year of the table in database. Understand with Example The Tutorial illustrate an example from 'Mysql Year
Java Leap Year Problem
Java Leap Year Problem  I need help with a writing a program in Java that creates a class Year that contains a data field that holds the number of months in a year and the number of days in a year. It should include a get method
Mysql Date Add Year
Mysql Date Add Year       Mysql Date Add Year explains to add the year to the particular... 'Mysql Date Add Year'. To graspe this example, we use Add('2008-12-15',INTERVAL 1
Checking whether a year is leap or not
Checking whether a year is leap or not   ... for checking whether a year is a leap year or not. Here, we have taken the year 2000. So...;if else" condition. As we know leap year is divided by the integer 4 and so
JSP Financial Year Table
JSP Financial Year Table  Im trying to design a financial year table...wherein the user enters the data in the table and the same is updated in backend.i have successfully desinged the page but i have certain doubts in jsp
Retrieve all the students in the same year(Java ArrayList)?
Student, with ID, name, year <% Student search = null; ArrayList<Student>... in the "year" year with ID, name and year" </html> StudentsManager.java...Retrieve all the students in the same year(Java ArrayList)?  
leap year logic - Java Beginners
leap year logic  hi frds.. can u give me logic for leap year..  Hi Friend, Please visit the following link: http://www.roseindia.net/java/beginners/Leapyear.shtml Thanks
How to Addding 1 Year with PHP
How to Addding 1 Year with PHP  Hi, I am very fresh in PHP language. I trying to create a small application about how to adding 1 year in specific date. Please suggest me. Thanks
Name unique
Name unique  I want to check whether the value which I give for the name textfield already exists in the database. In case if it exists , it should.... In other words, value for the name should be unique
search for a name
search for a name  Search for a name Write a program to accept an array of names and a name and check whether the name is present in the array. Return the count of occurrence. Use the following array as input {?Dave?, ?Ann
Java converts any given year to Roman Numeral
Java converts any given year to Roman Numeral  Write a program that converts any given year to Roman Numeral
class name
class name  what is the class name of circle.java   how do i complie my jdk file, what happen s if i put in the correct commands and it still does not complie, what do i do next
Domain Name
name is registered for a period of 1 year. But you can also register your domain name for more then one year. Each year you have to renew your domain name. Domain name cost around US$10 per year. But the price of domain registration
Add year to Date without using Calendar in java
Add year to Date without using Calendar in java  how could i add a year to a date function without using calendar functions
JDBC : Get year from Date
JDBC : Get year from Date In this section, you will learn how to get year from date. Get year from Date : In MySql you can get year from the given Date by using year() function.  YEAR(date) : This method returns the year
Java get Year
Java get Year       In this section, you will learn how to obtain the current year. The Calendar.... The method cal.get(Calendar.YEAR) will return the current year. Here