Java date: add one day, year, month, and date plus 1, date + 1, month + 1, year + 1, and date
System. out. println ("String type" + endDate); // The time when the page is passed to the
1 import java. util .*;2 public class dateclass3 {4 public static void main (string ARGs [])5 {6 date M = new date ();7 system. Out. println ("now:" + M. tostring ());8 Calendar n = calendar. getinstance ();9 int year = n. Get (calendar. year );10 int month = n. Get (calendar. month) + 1;11 int day = n. Get (calendar. date );12 INT week = n. Get (calendar. day_of
, as long as the call Date object's Setdate () function can be, the method is as follows:function Adddate (date,days) {var d=new date (date);D.setdate (D.getdate () +days);var m=d.getmonth () +1;return d.getfullyear () + '-' +m+ '-' +d.getdate ();}Where the date parameter is to be added and minus the day, the days parameter is to be added and minus the number, if the forward count is passed in negative numbers, the next count is passed in positive num
Public Static String date_year= "Year"; // years Public Static String date_month= "MONTH"; // Month Public Static String date_day= "Day"; // Day// 7 Days Date date_day = dateoperation (date_day,-7); // 1 months Date date_month = dateoperation (date_month,-1); // 1 Years Da
JS is not directly available functions, so can only write their own, which need to relate to the judgment of the number of days per month, if it is February, but also related to the judgement of leap years1 varAdddate = {2 //date, based on the original date, increase days, by default 1 days3SetDate:function(date, days) {4 if(days = = Undefined | | days = = ") {5Days = 1;6 }7
In the Photoshop tutorial, I'll learn how to mimic the makeup of a dinner girl's eye shadow in Photoshop cs3. This tutorial is very useful for dealing with magazine photos, I hope you enjoy ...
First look at the final effect:
1, first of all, we want to download some girl's face close-up pictures from the Internet, then run your Photoshop to open these pictures, as shown in the picture.
2. Use the Lasso tool to create a selection in t
Pictures for cloudy shooting, a bit of gray and dark, the overall sense of permeability is not very strong. The author uses a lot of pure color layer to improve the brightness of the picture and increase the complement, while also adding the homemade sunlight, the overall effect is very beautiful.
Original
1, with a quick mask (not face close-up, select do not need to be too precise) extract the character skin color selection, with a curve to
PS Text Plus stroke method
1, open Photoshop, click "File"-"new"
2, set a good background size and color
3, then click on the tool bar Text Tool
4, enter the text you want
5, then at the layer, right click on the type layer, select "Blending Options"
6, will pop-up window, in the window
Tutorial describes the dim tint of the color of the image palette method. General process: First render the background of the picture, quickly with the color palette tool plus the desired main color. Then slowly light up the picture and render the highlight part. Finally the picture is exposed and soft feeling rendered out.
Original
Final effect
1, open the original
PS to the new in the shade of the tree plus the atmosphere rays
Material pictures of the very atmosphere, the composition is also very in place, but the sky part of the white, the effect is not very ideal. When dealing with the first part of the sky into the light material, and then the main color and dark color of the dark, high light area rendering some of the sun, and finally enhance the character of th
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.