Skip to main content

Posts

Showing posts from 2019

Yahoo! Calendar "Add Event" Seed URL Parameters

I can't seem to find any official documentation on this, so here are my notes. Some information gathered from  http://richmarr.wordpress.com/tag/calendar/ Other information gathered through trial and error, and close examination of the "Add Event" form on Yahoo!'s site. Yahoo! Calendar URL Parameters Parameter Required Example Value Notes v Required 60 Must be  60 . Possibly a version number? TITLE Required Event title Line feeds will appear in the confirmation screen, but will not be saved. May not contain HTML. ST Required 20090514T180000Z Event start time in UTC. Will be converted to the user's time zone. 20090514T180000 Event start time in user's local time 20090514 Event start time for an all day event. DUR value is ignored if this form is used. DUR 0200 Duration of the event. Format is HHMM, zero-padded. MM may range up to 99, and is converted into hours appropriately. HH values over 24 hours appear to be modulated by 24. Durations t...

Enum in JAVA

Agenda Introduction Internal implementation of enum Declaration and usage of enum Enum vs switch statement enum outside the class allowed modifiers enum inside a class allowed modifiers Enum vs inheritance Java.lang.Enum class values() method ordinal() method Speciality of java enum Enum vs constructor enum Vs Enum Vs Enumeration Introduction : We can use enum to define a group of named constants. Example 1: enum Month { JAN,FEB,MAR,   ... DEC;       //; -->optional } Example 2: enum Beer { KF,KO,RC,FO; } Enum concept introduced in 1.5 versions. When compared with old languages enum java's enum is more powerful. By using enum we can define our own data types which are also come enumerated data types. Internal implementation of enum: Internally enum's are implemented by using class concept. Every enum constant is a reference variable to that enum type object. Every enum const...