func NewPicSorter(isDryRun bool, deduper *Deduper, fileMover *FileMover, libDir string, duplicateDir string, trashedDir string, unsupportedDir string, matchLivePhotos bool) *PicSorter {
	result := new(PicSorter)
	result.isDryRun = isDryRun
	result.deduper = deduper
	result.fileMover = fileMover
	result.libDir = libDir
	result.duplicateDir = duplicateDir
	result.trashedDir = trashedDir
	result.unsupportedDir = unsupportedDir
	result.matchLivePhotos = matchLivePhotos
	// Workaround to get "local" location. "Time.Local()" does not pick the right offset for DST state.
	zoneName, offset := time.Now().Zone()
	result.local = time.FixedZone(zoneName, offset)
	return result
}
// NewPicSorter creates a new PicSorter with the given Deduper and FileMover.
NewPicSorter creates a new PicSorter with the given Deduper and FileMover.
// NewPicSorter creates a new PicSorter with the given Deduper and FileMover .
func NewPicSorter(isDryRun bool, deduper *Deduper, fileMover *FileMover, libDir string, duplicateDir string, trashedDir string, unsupportedDir string, matchLivePhotos bool) *PicSorter {
	result := new(PicSorter)
	result.isDryRun = isDryRun
	result.deduper = deduper
	result.fileMover = fileMover
	result.libDir = libDir
	result.duplicateDir = duplicateDir
	result.trashedDir = trashedDir
	result.unsupportedDir = unsupportedDir
	result.matchLivePhotos = matchLivePhotos
	zoneName, offset := time.Now().Zone()
	result.local = time.FixedZone(zoneName, offset)
	return result
}
func NewPicSorter ( isDryRun bool , deduper * Deduper , fileMover * FileMover , libDir string , duplicateDir string , trashedDir string , unsupportedDir string , matchLivePhotos bool ) * PicSorter { result := new ( PicSorter ) result . isDryRun = isDryRun result . deduper = deduper result . fileMover = fileMover result . libDir = libDir result . duplicateDir = duplicateDir result . trashedDir = trashedDir result . unsupportedDir = unsupportedDir result . matchLivePhotos = matchLivePhotos zoneName , offset := time . Now ( ) . Zone ( ) result . local = time . FixedZone ( zoneName , offset ) return result }
NewPicSorter creates a new PicSorter with the given Deduper and FileMover.
NewPicSorter creates a new PicSorter with the given Deduper and FileMover .
// Workaround to get "local" location. "Time.Local()" does not pick the right offset for DST state.