/**
* Today, the 23th day of March, is your birthday.
* So I created a page to celebrate this special day for you.
*/
Girl u = new Girl("DaLao");
// Mar 23th, when the bell rang, your age increased
Date currentTime = new Date();
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String dateString = formatter.format(currentTime);
if( dateString.equals("2017-3-23 00:00:00") ){ u.age ++; } // My blessing will be with you simultaneously.
new Thread (){
@Override // Forever and ever. I wish
while(true){ // luckiness,
u.fortune ++; // happiness,
u.happiness ++; // and may all your wishes come true.
}.start() // The last thing I wanna say, boring and ordinary, is:
System.out.println("Happy Birthday !");
* Today, the 23th day of March, is your birthday.
* So I created a page to celebrate this special day for you.
*/
Girl u = new Girl("DaLao");
// Mar 23th, when the bell rang, your age increased
Date currentTime = new Date();
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String dateString = formatter.format(currentTime);
if( dateString.equals("2017-3-23 00:00:00") ){ u.age ++; } // My blessing will be with you simultaneously.
new Thread (){
@Override // Forever and ever. I wish
while(true){ // luckiness,
u.fortune ++; // happiness,
u.happiness ++; // and may all your wishes come true.
}.start() // The last thing I wanna say, boring and ordinary, is:
System.out.println("Happy Birthday !");
You've been in the world for
May you have a year full of happiness.
- Hongbin,Ren