Re: Does the date entered fall on a Saturday or Sunday?
Jump into the Expression Editor and create a GregorianCalendar class. It will tell you all these things, and more. It will deal with leap years and other tricky little things.
Now if you don't know how to use the Expression Editor, please read the manual. It's a bit tricky to describe, but you can actually double-click on where you see the class and type your own class there, and it will make one for you, and then you can use the methods on that class that the editor can see through reflection.
GregorianCalendar is a standard Java class in java.util.* so you will be able to use it.
You basically take their date entry, make a GregorianCalendar, and then check to see if it's the weekend.
NOTE: Month is 0-11, so subtract 1 from what they entered!!! Tricks people up.
GregorianCalendar gc = new GregorianCalendar(int year, int month, int dayOfMonth)
if (gc.get(Calendar.DAY_OF_WEEK) == Calendar.SATURDAY ||
SIP traces provide key information in troubleshooting SIP Trunks, SIP
endpoints and other SIP related issues. Even though these traces are in
clear text, these texts can be gibberish unless you understand fully
what they mean. This document attempts to br...
Please find the attached HTML document, download and open it on your PC.
This provides an easy to use form where you simply answer a few
questions and it will render the proper jabber-config.xml file for you
to copy/paste. There is built in logic to verif...
CUCM Database Replication is an area in which Cisco customers and
partners have asked for more in-depth training in being able to properly
assess a replication problem and potentially resolve an issue without
involving TAC. This document discusses the bas...