public Boundary getObservanceBoundary ( Date date ) { utcCalendar . setTime ( date ) ; int year = utcCalendar . get ( Calendar . YEAR ) ; int month = utcCalendar . get ( Calendar . MONTH ) + 1 ; int day = utcCalendar . get ( Calendar . DATE ) ; int hour = utcCalendar . get ( Calendar . HOUR ) ; int minute = utcCalendar . get ( Calendar . MINUTE ) ; int second = utcCalendar . get ( Calendar . SECOND ) ; return getObservanceBoundary ( year , month , day , hour , minute , second ) ; }
Gets the timezone information of a date .