/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

import java.time.temporal.* ;
import java.time.* ;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
	
ZoneId zoneId = ZoneId.of( "Pacific/Auckland" ) ;

long[] toReturn = new long[2];
ZonedDateTime nowZdt = ZonedDateTime.now(zoneId);
ZonedDateTime startZdt = nowZdt.with(ChronoField.DAY_OF_WEEK, 1);
startZdt = startZdt.toLocalDate ().atStartOfDay(zoneId);
toReturn[0] = startZdt.toInstant().toEpochMilli();
toReturn[1] = nowZdt.toInstant().toEpochMilli();

System.out.println( startZdt + "\n" + nowZdt ) ;
System.out.println( "toReturn: " + Arrays.toString( toReturn ) ) ;

	}
}