package mydiary_system;
public class Pt_in_Time {
private long NofSecSince1900 ;
public Pt_in_Time( final long paramNofSecSinc e1900 )
{
/*can i do this ? */
NofSecSince1900 = ParamNofSecSinc e1900
}
public boolean isItEarlier( final Pt_in_Time anotherPt_in_Ti me )
{
// can you do this in java ? //??????????????? ?? if not then how does this method shoudl look like?
if (anotherPt_in_T ime >this.NofSecSin ce1900) return false else return true
}
}
public class Pt_in_Time {
private long NofSecSince1900 ;
public Pt_in_Time( final long paramNofSecSinc e1900 )
{
/*can i do this ? */
NofSecSince1900 = ParamNofSecSinc e1900
}
public boolean isItEarlier( final Pt_in_Time anotherPt_in_Ti me )
{
// can you do this in java ? //??????????????? ?? if not then how does this method shoudl look like?
if (anotherPt_in_T ime >this.NofSecSin ce1900) return false else return true
}
}
Comment