public static IPath stampToPath(final long stamp){
  fgCalendar.setTimeInMillis(stamp);
  final StringBuffer buffer=new StringBuffer(256);
  buffer.append(fgCalendar.get(Calendar.YEAR));
  buffer.append(IPath.SEPARATOR);
  buffer.append(fgCalendar.get(Calendar.MONTH) + 1);
  buffer.append(IPath.SEPARATOR);
  buffer.append(fgCalendar.get(Calendar.WEEK_OF_YEAR));
  return new Path(buffer.toString());
}

public static IPath stampToPath ( final long stamp ) { fgCalendar . setTimeInMillis ( stamp ) ; final StringBuffer buffer = new StringBuffer ( 256 ) ; buffer . append ( fgCalendar . get ( Calendar . YEAR ) ) ; buffer . append ( IPath . SEPARATOR ) ; buffer . append ( fgCalendar . get ( Calendar . MONTH ) + 1 ) ; buffer . append ( IPath . SEPARATOR ) ; buffer . append ( fgCalendar . get ( Calendar . WEEK_OF_YEAR ) ) ; return new Path ( buffer . toString ( ) ) ; }
returns a path representing the history part for the specified time stamp .
